ruby on rails ferret search:.only 10 records are getting from table
Posted
by jissy
on Stack Overflow
See other posts from Stack Overflow
or by jissy
Published on 2010-04-07T09:23:16Z
Indexed on
2010/04/07
10:53 UTC
Read the original article
Hit count: 232
ruby-on-rails
ruby on rails ferret search:.only 10 records are getting from table.For pagination i did it ,but only 10 records are getting even though there exists more records satisfying the search condition.if any of you know how to solve this,please reply. no limit is givenf it is not a ferret search all records are getting from table , and pagination is working
the code is:
@search_sd_ticket_result=ServiceDeskTicket.find_with_ferret(params[:sd_ticket][:servicedeskticket]).paginate :per_page =>5, :page=>params[:page]
© Stack Overflow or respective owner