On 25 May 2010 03:29, nirosh <kunalan.kand...@gmail.com> wrote:
> how do i access the passing variable in controller. i have done the
> passing variable part and when i use params[:variable_name] it gives
> error
>
> so could u please explain that a bit?

Look in the log to see what value is being passed in params, this will
tell you whether it is accessing the value that is the problem or
whether you are not getting into the params in the first place.  If
the value does not appear in the log look at the html of the page
(View, Page Source or similar in the browser) and see whether the html
is what you expect.  If that still looks ok try pasting the html into
the w3c online html validator to check the html is valid.

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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to