Attr Accessor in Rails 4

Is attr_accessor no longer used in RAils 4 since there are strong
parameters? If strong parameters are disabled, then are attr_accessors
necessary?

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