module Cequel::Record::MassAssignment

Cequel supports mass-assignment protection in both the Rails 3 and Rails 4 paradigms. Rails 3 applications may define `attr_protected` and `attr_accessible` attributes in {Record} classes. In Rails 4, Cequel will respect strong parameters.

@see github.com/rails/strong_parameters Rails 4 Strong Parameters @see

http://api.rubyonrails.org/v3.2.15/classes/ActiveModel/MassAssignmentSecurity.html
Rails 3 mass-assignment security

@since 1.0.0

Public Instance Methods

attributes=(attributes) click to toggle source

@private

Calls superclass method
# File lib/cequel/record/mass_assignment.rb, line 37
def attributes=(attributes)
  super(sanitize_for_mass_assignment(attributes))
end