Move a find into the model to clean up the controllers and remove duplication. Also see how you can call these custom find methods through an association.
Learn a quick way to improve performance. Just store the end result of an expensive command in an instance variable!
3 min
About RailsCasts (Mobile)
From the publisher's feed
Every other week you will be treated to a new, free RailsCasts episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one…
technique so you can quickly move on to applying it to your own project. The topics are geared toward the intermediate Rails developer, but beginners and experts will get something out of it as well. A Pro option is also available containing more screencasts each week. This version is for mobile devices which cannot support the full resolution version.