Hi,
Im creating a few reports for a system using ind_by_sql
Are there any built in features that I can use to paginate the results
and how can this be achived?
Thanks
Hi,
Im creating a few reports for a system using ind_by_sql
Are there any built in features that I can use to paginate the results
and how can this be achived?
Thanks
Indeed there is, in a few options from automagic to
manual. If you’re using find_by_sql, you’ll probably
need to instantiate a Paginator object by hand. Check
out “Custom/“classic” pagination”:
http://api.rubyonrails.org/classes/ActionController/Pagination.html
hth,
phil
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs