Re: submit_tag ?

DamnBigMan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-03-15T19:50:02Z

I''m using the attr_protected macro.

On Mar 15, 1:39 pm, Nelson Hsu
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:
> DamnBig...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
> > Thanks for the response.  That is what I was fearing.  I was hoping
> > someone knew of a way to tie the assignment to the submission of the
> > edit form so that it happened at the same time/transparently.
>
> > On Mar 15, 1:24 pm, Nelson Hsu
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
>
> How are you protecting your attribute?  Are you using Ruby''s
access
> control (i.e. public, protected, private), are you using
ActiveRecord''s
> attr_protected macro?
>
> Nelson
>
> ---
> Basedex - A Collaborative Index to organize and collect everything
> related to Ruby on Railshttp://blazingrails.basedex.com/index/8
>
> --
> Posted viahttp://www.ruby-forum.com/.