Hey,

> Be sure to apply the :store_classname => true option to all your
> acts_as_ferret calls. Otherwise aaf cannot filter results by class.

Yep, I got :store_class_name => true in my models. The problem is 
occurring when i do a search and i get back Person, EmailAddress, and 
PhoneNumber objects that all match the query, but i only want back 
Person objects. So, when i do a search for someone via their email i 
don't want to get back an EmailAddress object and a Person Object, Just 
the Person Object that the EmailAddress is Associated.

Stephen Heuer


-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to