Forum: Ruby on Rails pagination and nested parameters

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Daniel B. (Guest)
on 2006-01-27 21:40
(Received via mailing list)
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
Francois P. (Guest)
on 2006-01-27 21:53
(Received via mailing list)
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
Roberto S. (Guest)
on 2006-01-27 22:29
(Received via mailing list)
If I remember propperly, there is a plugin at the rails source code
repository which does exactly that
This topic is locked and can not be replied to.