Displaying 2 results from an estimated 2 matches for "suntrust".
2007 May 18
1
find_by_contents + ''conditions'' returning incorrect results
...acts_as_ferret :fields => [:name]
Running this in script/console, I get a correct result (about 2100
hits):
Lender.find_by_contents("bank")
But when I start constraining with active record I get weird results.
This turns up one hit, which is correct:
Lender.find_by_contents("suntrust", {}, {:conditions=>["sta1 = ''DC''"]})
But this turns up zero hits, when it should be 11 hits according to my
SQL:
Lender.find_by_contents("bank", {}, {:conditions=>["sta1 = ''DC''"]})
Also, an IN search doesn''t a...
2006 Dec 28
13
Sorting/Ordering Search Results
Hello All,
I am having an issue with AAF and sorting results of a search. Right
now, I have results being split onto pages of 10. The results are being
sorted alphabetically, but not across multiple pages - it''s just sorting
the 10 it pulls down on each page. I noticed another post from April
regarding this same issue (http://www.ruby-forum.com/topic/62993#66934)
where the issue was