Hello,
I'm setting a checkbox values based on the return of a model field
method. The way the method is set up - it only gets called when a
checkbox value is set.
Could you provide me the check box script in view?
you can put additional params in form_tag
example :
<% from_tag bla...bla.., :within => true %>
...
<% end_from_tag %>
I hope it can answer yours. it will be directly executed each time the
form_tag is run. What do you want this 'def within' is run for every
time model is used or only in form_tag?
Could you provide me the check box script in view?
you can put additional params in form_tag
example :
<% from_tag bla...bla.., :within => true %>
...
<% end_from_tag %>
I hope it can answer yours. it will be directly executed each time the
form_tag is run. What do you want this 'def within' is run for every
time model is used or only in form_tag?