Have a look at last weeksn railscast which explains scope_out. scope_out generates various finder methods so you can move those methods cluttering the controller into model. The video is a great introduction to this plugin:
http://railscasts.com/episodes/76
This entry was posted
on Monday, October 29th, 2007 at 12:32 and is filed under Ruby.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.