RailsCasts
RailsCasts
Ryan Bates
#4 Move Find into Model
2 minutes Posted Mar 12, 2007 at 7:00 am.
0:00
2:03
Download MP3
Show notes
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.