On Dec 2, 5:36 am, "balaji rajagopal" <[EMAIL PROTECTED]>
wrote:

>
> *Parameters*:
>
> {"authenticity_token"=>"ad873f6fad6c67d5457b476d1130c5a966d74684",
>  "resortname"=>"mahapalipuram ",
>  "resorttype"=>{"resorttypeid"=>"2"},
>  "resortclass"=>{"resortclassid"=>"2"},
>  "seasontype"=>{"seasontypeid"=>"2"},
>  "website"=>"www.mpm.com",
>  "commit"=>"Next"}
>

The answer is right here. params[:resortname] exists, but params
[:resorttypeid] doesn't - it's inside params[:resorttype] (because
that's what the select helper you're using does)

Fred
--~--~---------~--~----~------------~-------~--~----~
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