search for: display_loc

Displaying 2 results from an estimated 2 matches for "display_loc".

Did you mean: display_doc
2006 Jun 10
1
paginate session problem.. (syntax question)
I have this code in my controller and i cannot seem to figure out how to get it to paginate correctly.. Is there a trick to do something like this? There are a few others at www.rubyonrailsforum.com that are having the same issue. Any insite would be great, thanks in advance! def display_location if params[:search] && params[:search].size > 0 @listing_pages, @listings = paginate (:listings, :per_page => 10, :order => "budget desc") locations = (params[:search] || {:default => "someplace"}).values.map{ |x| ''&qu...
2006 Jun 11
0
mySQL paginate syntax question for complex SQL. (over 117 views in rubyonrailsforum and no answer, others confused..)
...cannot seem to figure out how to get it to paginate correctly.. Is there a trick to do something like this? There are a few others at www.rubyonrailsforum.com that are having the same issue. Any incite would be great, thanks in advance! (over 117 views and no answer in rubyonrailsforum???) def display_location if params[:search] && params[:search].size > 0 @listing_pages, @listings = paginate (:listings, :per_page => 10, :order => "budget desc") locations = (params[:search] || {:default => "someplace"}).values.map{ |x| ''"...