Here’s the setup (working off Rails 1.1.4):
Class Employee < Person
When I try to paginate(:employees, :include =>
:projects) I get the error “Association named
‘projects’ was not found; perhaps you misspelled it?”
I can :include other models that the Person class
has_many or habtm of, and if I just refer to a
@employee.projects collection that works too.
Does anyone see what the problem could be?
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around