I did not know that! Thanks! -- Ylan
On Mar 6, 2012, at 9:35 AM, Darren Boyd wrote: > On Tue, Mar 6, 2012 at 8:56 AM, Ylan Segal <[email protected]> wrote: > GW, > > That sounds like the right way to go. Is your code something that you can > share? I'd be interested in a solution like you describe. > > > Note that you can use MassAssignmentSecurity from Rails in any class you > wish. You can roll your own set of 'authorization' classes, or for simpler > cases, include it in a controller... > > http://api.rubyonrails.org/classes/ActiveModel/MassAssignmentSecurity/ClassMethods.html > > > -- > SD Ruby mailing list > [email protected] > http://groups.google.com/group/sdruby -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby
