[Rails] Re: check_box_tag problems
Sindri Guðmundsson wrote:
> Marnen Laibow-Koser wrote:
>> [...]
>>
>> This is strange code. You're inside a form_for, so why are you using
>> check_box_tag rather than check_box ?
>
> I read somewhere that I shouldn't do it like this, but I couldn't get
> the info on checked/uncecked using check_box. Should I get rid of the
> form_for and change the submit button to POST button_to? Why?
No, you should fix the problem that's preventing you from using
check_box!
>
>
> Thanks Saurabh Peshkar, ofc I should've done that, thanks! :)
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org
--
Posted via http://www.ruby-forum.com/.
--
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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home