Sunday, January 9, 2011

Re: [Rails] Re: Best Practice

On 9 January 2011 15:20, Alpha Blue <lists@ruby-forum.com> wrote:
> Hey Colin,
>
> I'm in the process of putting together the bitfields permission system
> into a gem in case someone wants to use a different set of authorization
> for their app.  When I get it done, I'll publish it and let you know the
> name and git address.
>
> It's much easier to see how things work when you have the whole package
> in front of you and can see all of the code.

Thanks for that, but what I really would like to know is how you have
managed, with one line of code in the model, to intercept
update_attributes so that it only updates allowed attributes.

Colin

--
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


Real Estate