2009/6/18 Rachel Nichol <[email protected]>:
> Hello All,
>
>
>
> I have :wsc_uid=>category['wsc_uid_pk'] in my view so that I can use
> :wsc_uid parameter in my controller to pass to model.  In my view I am
> printing category[‘wsc_uid_pk’] to see if there is data, and there is indeed
> data.  So, why, when running debugger in controller, is params[:wsc_uid] =
> nil?  Does anyone know what I could be doing wrong?

To get a parameter submitted it should be put in a field (hidden if
necessary) on the form.  Assuming you are submitting a form that is.
Alternatively if going via a link it can be put as a parameter to the
link.  You need to give us a few more clues as to what you are doing.
We are not telepathic (at least I am not).

Colin

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