Displaying 2 results from an estimated 2 matches for "suntrusts".
Did you mean:
suntrust
2007 May 18
1
find_by_contents + ''conditions'' returning incorrect results
...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 appear to constrain results at all. This
should turn up 16 rows but it turns up 31 (all the suntrusts, not
constrained by state):
Lender.find_by_contents("suntrust", {:conditions=>["sta1 IN ?",
"(''AL'',''DC'', ''FL'')"]})
Any ideas?
--
Posted via http://www.ruby-forum.com/.
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