Re: submit_tag ?

Nelson Hsu
2007-03-15T19:24:42Z

> I have a protected attribute that I wish to change with my edit form.
> Is it possible to do this with the "options" for submit_tag?
>
> I guess what I''m asking is if there is a way to have the submit
> perform the, in this case, user.admin=user[admin] assignment I would
> like to occur when the form is submitted?

I think if the attribute is protected, you would have to do a manual
assignment.

Nelson

----
Basedex - A Collaborative Index to organize and collect everything
related to Ruby on Rails