On 23 Jul 2009, at 12:20, Indu RS wrote:

>
> Hello everyone,
>
>
> I forced to use @user = User.find_by_sql sql_query  in a particular
> situation in my project. Now I want to paginate the records. How can I
> paginate the records?

will_paginate etc. can help you with the view helpers on stuff but it  
will be up to you to modify the sql you generate to get the correct  
range of records.

Fred
> Please help me.
>
> Thanks in advance
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to