Forum: Ruby on Rails Wizard pages

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
17679c4b621f2a05bbe7f97f7687161e?d=identicon&s=25 ginger72 (Guest)
on 2007-03-14 00:13
(Received via mailing list)

I am implementing a wizard entry form and ran across the job board on
37signals, which I think could come in quite handy. The URLs are
encoded the following way:               => 1st page;preview   => 2nd page, the preivew

How would the corresponding controller/action look like and how the
form_tag in the form?

Thanks much,
8bc543795b502900b5333aea73ad5533?d=identicon&s=25 Eden Li (edenli)
on 2007-03-14 02:44
(Received via mailing list)
These are done using resources.  From

  map.resources :messages, :new => { :new => :any, :preview => :post }
  # --> POST /messages/new;preview (maps to the #preview action)
  #     also adds a named route called "preview_new_message"
  # --> /messages/new can be invoked via any request method

This is all rails 1.2.x stuff.  Here's a tutorial I googled:, but there are probably better links out
This topic is locked and can not be replied to.