Sha256: 898602020a68e60bcac2a74493386b8e6aaafc21282c1ee71a188360e8ac968a

Contents?: true

Size: 196 Bytes

Versions: 8

Compression:

Stored size: 196 Bytes

Contents

# Delete this file when support for 3.2 is dropped
if ENV['ATTR_ACCESSIBLE'] == '1'
  # turn on whitelisted attributes:
  ActiveRecord::Base.send(:include, ActiveModel::MassAssignmentSecurity)
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
closure_tree-5.2.0 spec/support/deprecated/attr_accessible.rb
closure_tree-5.1.1 spec/support/deprecated/attr_accessible.rb
closure_tree-5.1.0 spec/support/deprecated/attr_accessible.rb
closure_tree-5.0.0 spec/support/deprecated/attr_accessible.rb
closure_tree-4.6.3 spec/support/deprecated/attr_accessible.rb
closure_tree-4.6.2 spec/support/deprecated/attr_accessible.rb
closure_tree-4.6.1 spec/support/deprecated/attr_accessible.rb
closure_tree-4.6.0 spec/support/deprecated/attr_accessible.rb