On Dec 1, 10:35 am, "balaji rajagopal" <[EMAIL PROTECTED]>
wrote:
> Hi................
> My Resortclass application is
> Field =>id: resortclass
> Value=>1:aaaaa
> 2:bbbbb in store in resortclasses table
>
> My Resortbasic application is
> Field =>id: resortclassid
> Value=>1:1
> 2:1 in store in resortbasics table
> I select 2nd value is bbbb but it is stored the id value is 1and
> I select 2nd value is aaaa but it is stored the id value is 1
> So i doubt error in wizard controller section
>
Check again. I can assure you that resortclassid is not in params[:
resortclassid] but is somewhere else.
Don't flail around blindly, use the debugger to inspect the params
hash and you'll find out soon enough (or as a poor man's alternative
use
<%= debug(params)%> in the view to display all the parameters received
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
-~----------~----~----~----~------~----~------~--~---