Plugins - Dynamic Finders with Belongs To Names
Add to favoritesThis plugin enhances dynamic finders to allow use of a belongs_to association name instead of having to use the foreign key attribute directly. For example, these two lines are equivalent:
posts = Post.find_all_by_author_id(author.id) posts = Post.find_all_by_author(author)
http://svn.hasmanythrough.com/public/plugins/dynamic_finders_with_belongs_to_names/
Misc. Enhancements
