RailsCasts
Ryan Bates
Add to My Podcasts
Episodes
About
Reviews
Promote
#4 Move Find into Model
2 minutes
Posted Mar 12, 2007 at 7:00 am.
0:00
2:03
Add to My Queue
Download
MP3
Share
episode
Share at current time
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.
Watch Video
Previous
#3 Find Through Association
Next
#5 Using with_scope
← See all 346 episodes of RailsCasts