What's your favorite Rails best practices reference?

21 views
Skip to first unread message

Shawna Scott

unread,
Sep 24, 2014, 7:25:22 PM9/24/14
to pdx...@googlegroups.com, pdxruby-...@googlegroups.com
Hi Ruby Brigade!

I'm halfway through my second week at my new job as a junior Rails engineer, and I am feeling the need for some best practice guidelines. Sure, I *can* write that method that way. But *should* I?

My boss has been an awesome resource, but I'd like to make sure I'm doing my part to build my own internal code smell detector, rather than relying on him all the time. What resources/references do you rely on?

Bonus points for great error and exception handling best practices.

Thanks!
-Shawna

Chris Hough

unread,
Sep 24, 2014, 7:35:52 PM9/24/14
to pdx...@googlegroups.com, pdxruby-...@googlegroups.com
We use the following on my team:

rubocop
brakeman
simplecov

and if you firm likes to be really thorough I highly highly recommend purchasing CodeClimate

They are all gems and pretty easy to setup.  

Cheers. 

Rico Jones

unread,
Sep 25, 2014, 1:15:47 PM9/25/14
to pdxruby-...@googlegroups.com, pdx...@googlegroups.com
I'm not sure if there is one singular resource for getting better, but my method was to just immerse myself as much as possible in the Ruby community and keep going down the rabbit hole whenever I came across something I didn't understand. Some resources I have used are the Ruby Rogues podcast (a great way to get introduced to more advanced topics and you can listen to their entire back catalog) and following famous Ruby folk on Twitter.

Congrats on the new job,

Rico

Shawna Scott

unread,
Sep 25, 2014, 3:46:40 PM9/25/14
to pdx...@googlegroups.com, pdxruby-...@googlegroups.com
Thanks for all the resources and congratulations, everyone!

I'm starting with "The Rails 4 Way," and plan to add a bunch of your suggestions to the queue.

See you all at the next meeting!


On Wednesday, September 24, 2014 4:25:25 PM UTC-7, Shawna Scott wrote:
Reply all
Reply to author
Forward
0 new messages