Hi..I need some advice:

A formular which includes 3 partials
The partial will be chosen by userinput stored in a session

Controller:
def new
   @booking = Booking.new
   @booking_partial = partial_choice(session[:pre][:fahrt]) # 1,2 or 3

this works fine, but if the validation fails the partial will not be
shown again..!

Looks like the 'partial_choice' is not getting information then. I
dont see the point where to feed that info in again.

Thanks for your help
Werner

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to