search for: passedincountry

Displaying 1 result from an estimated 1 matches for "passedincountry".

2006 Dec 11
6
easy question, how would i search a grandparent???!
...arch the grandparent? for example class country has_many states class states has_many cities belongs_to country class city belongs_to states ...... i would like to search articles that only belong to a country. something like... Article.find_by_contents("#{searchstring} +states.country:#{passedincountry}") -- Posted via http://www.ruby-forum.com/.