So i have acts as ferret working nicely except for one problem. I can't
for the life of me filter results on a parent model!
For example we have a tree that goes
Account->User->Article
Article.find_by_contents("hello") works great but I try something like
Article.find_by_contents("hello", {}, {:include=>:users,
:conditions=>["users.account_id = ?"])
gives a bunch of errors, its clearly not including the users
--
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
-~----------~----~----~----~------~----~------~--~---