ActiveRecord: How dynamic finders work:
Dynamic finders work only with model attributes, not with associations. So if you have a belongs_to :user association on an article, you have to write Article.find_by_user_id(user.id) . I have an experimental patch that provides this functionality. I'm not entirely sure what to do with the patch. It works fine for simple belongs_to associations, but doesn't yet handle polymorphism. I'm looking into supporting polymorphic belongs_to associations, but the code is getting ugly enough that I'm not sure it's worth it. Feedback would be appreciated.