Yes it was removed and if you want to use attr_accessible and friends you have to add the protected_attributes in your Gemfile.
We will support protected_attributes until the 4.1 release and after that we will drop support. So I don't think we would add/change features in that gem. Rafael Mendonça França http://twitter.com/rafaelfranca https://github.com/rafaelfranca On Fri, Sep 21, 2012 at 5:21 PM, Gary Weaver <[email protected]> wrote: > On Friday, September 21, 2012 1:17:41 PM UTC-4, Rafael Mendonça França > wrote: >> >> Please see >> https://github.com/rails/**rails/pull/7251<https://github.com/rails/rails/pull/7251> > > > Thanks! That is good to have a link to. > > Looks like that gem isn't even currently in: > https://github.com/rails/rails/blob/integrate-strong_parameters/Gemfile > > I guess that means mass assignment security is not only deprecated now, it > is deprecated and going to be removed completely in Rails 4. (Did I get > that right?) Maybe I'd already read that. If so, sorry for mentioning here > again. > > Would this be a good request to move to the > https://github.com/rails/protected_attributes gem, or is mass assignment > so effectively dead that it won't have any new behavior added that isn't > required, and that gem is the nursing home for attr_accessible/protected as > it waits to die? > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-core/-/2xlkSfOkxbUJ. > > 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. > -- 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.
