RailsCasts Pro episodes are now free!

Learn more or hide this

Brendon Murphy's Profile

GitHub User: bemurphy

Site: www.techfreak.net

Comments by Brendon Murphy

Avatar

+1 on that refactoring at 9:00, seems essential. I cringed seeing "controller" in that model, too!

Avatar

Thanks for sharing this. It was really timely and helpful, as is often the case.

One thing to point about about using the :git repo notation in your Gemfile: it's usually not a great idea to do this if you don't control the repo. Since the rubygems service controls versioning more tightly, you can bet that when new code is released, the version will bump. However, the same cannot be said for master branches on github, which could lead to nasty surprises when you bundle install.