I can’t figure out why this is, in a controller I have:
@results = Group.paginated_search(“Woot”, 1)
render :text => “#{@results.size }”
this results in 1, which is incorrect
In the console I do the same thing:
@results = Group.paginated_search(“Woot”, 1)
And I get 4, which is the correct result.
I’ve deleted my index directory and restarted the server but I still keep getting only 1 result on the site.