> Any ideas?

Yeah. :)

My initial post left out some important details. I wasn't running:

User.find(:all)

I was running:

mode.association.find(:all)

And that's where Rails is falling back on the inflected/guessed table 
name. I could probably change the has_many directive to be dynamic, but 
I opted for something more like:

User.find(:all, :conditions => [ 'associated_id => ?', id ])
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to