On May 27, 2:57 am, cainlevy <[email protected]> wrote: > After playing with a reimagined version of attr_accessible/ > attr_protected in my plugin, I'm much happier with the model-side > filtering approach. I think it allows for more interesting and useful > defaults. > > Since this API is to live only as a plugin for a bit, I'm unsure > whether this thread is the place to continue discussion? I think that > Xavier's improved documentation is probably all that can/should be > done to core at this time. Anyone interested in playing with the mass > assignment API is welcome to contact me directly or through GitHub.
Just publish the code. Real-world experience will teach us whether it has any advantages over Hash#slice/Hash#except. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
