Hi,

On Wed, Jun 22, 2016, at 17:39, Padmahas Bn wrote:
> But when I check the value of member_code variable in the controller, it 
> doesn't contain any value but the variable itself. As I told before, I've 
> filled my text_field with the member code of 180. When I print
> member_code 
> in controller I should get 180 right? But I'm getting member_code itself. 
> The output should be

I missed the last part of your question, yeah it must be inside a form
tag. You can't tell browser to pass a random text box value without it
being inside a form tag or through javascript.

What you're doing now is just passing `member_code` value to
`member_code` parameter through query string
(`/path?member_code=member_code`), completely ignoring the text box.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/1466585399.1917685.644998697.0AC84D73%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to