Displaying 1 result from an estimated 1 matches for "antkiewicz".
Did you mean:
ancukiewicz
2010 Mar 30
6
find conditions issue
I am making a search to look through my database at a string that I
enter into a text field. I got it to work properly if I enter in the
exact title but I wanted to see if I could find database entries with
similar titles.
I currently have this code that works:
@find = Product.find(:first, :conditions => ["title = ''#{name}''"])
So when I enter in "Rolling