Displaying 2 results from an estimated 2 matches for "srchstring".
Did you mean:
searchstring
2007 Jun 25
1
hello, is there a way to exclude duplicates of a field?
hi,
this is what i am trying to accomplish
Post.find_by_contents("artist:#{session[:srchstring]}*")
this returns to me all artist with the first letter of say ''n'' is there
a way to not repeat valuse of the same artist?
thank you so much for the help./
--
Posted via http://www.ruby-forum.com/.
2006 Dec 11
6
easy question, how would i search a grandparent???!
hi,
i have this in my code
Article.find_by_contents("#{searchstring} +city:#{passedincity}")
well that returns to me only articles that belong to whatever the user
selected in city.
now is it possible to search 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