Sha256: cadb5281fcddd1163cc3cbd23a6d579fecd7f8e44c50a27c3582e5539736cd3c
Contents?: true
Size: 763 Bytes
Versions: 30
Compression:
Stored size: 763 Bytes
Contents
module ActiveModel module DeprecatedMassAssignmentSecurity # :nodoc: extend ActiveSupport::Concern module ClassMethods # :nodoc: def attr_protected(*args) raise "`attr_protected` is extracted out of Rails into a gem. " \ "Please use new recommended protection model for params" \ "(strong_parameters) or add `protected_attributes` to your " \ "Gemfile to use old one." end def attr_accessible(*args) raise "`attr_accessible` is extracted out of Rails into a gem. " \ "Please use new recommended protection model for params" \ "(strong_parameters) or add `protected_attributes` to your " \ "Gemfile to use old one." end end end end
Version data entries
30 entries across 30 versions & 2 rubygems