Pagination and nested parameters


#1

Hi all,

I’ve got a couple select_date form helpers. For pagination, I need to
submit
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?

Thanks,

Dan


#2

Hi,
I’ve had a look at the slider component at script.aculo.us, 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.

Francois


#3

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