On Monday, 8 September 2014 16:08:48 UTC-4, Ruby-Forum.com User wrote: > > Are attr_accessors no longer needed in Rails 4 since there are strong > params? > If strong params are disabled, then are attr_accessors necessary? > > attr_accessor is unrelated to strong parameters - it's a core Ruby function: http://www.ruby-doc.org/core-2.1.2/Module.html#method-i-attr_accessor
You may be referring to attr_accessible, which has been removed to the protected_attributes gem in Rails 4: https://github.com/rails/protected_attributes --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/6292fa8b-aaf1-4922-a144-01a74f4b1b68%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

