Saturday, June 15, 2013

Re: [Rails] radio buttons form in ruby on rails

On Sat, Jun 15, 2013 at 4:50 AM, @ddy <aditi24.bhatnagar@gmail.com> wrote:

> Is this a correct way to read info from radio buttons.
> Please help, it is not working. Is the syntax correct?

It's horrible markup and very un-Ruby/Rails-ish code, but the key
point is: what EXACTLY do you mean by "not working"?

Is your controller getting the params you expect or not? Is the value
of @results not what you expect for a given input?

What is the problem?

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yACTzPv%3DkdN%2BaqjNi7MFNRS1kws4KXQDvXQPqWN6cy-Sw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate