Pagination and nested parameters

Hi all,

I’ve got a couple select_date form helpers. For pagination, I need to
these form values. I tried this, but it’s apparently wrong:

link_to ‘Previous page’, {
:page => @schedule_pages.current.previous,
:params => {:date => {:month => @month}, :date => {:year => @year}}

I tried a few variations, but no luck.

What’s the proper way to pass nested parameters?



I’ve had a look at the slider component at, and would
love to integrate it into my app, but i can’t seem to find any code
examples of how to use it with Rails?
are there helper methods?

any help would be appreciated.


If I remember propperly, there is a plugin at the rails source code
repository which does exactly that

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