ActiveResource and pagination

I’m trying to use activeresource for something i’m working on and was
wondering what the best way to paginate records is.

Currently I have a count method on my controller which I was going to
call using an ordinary http get since there doesn’t seem to be a way of
calling non default methods/actions using ARes.

Is there a better way to do this?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs