Module ActiveModel::MassAssignmentSecurity
In: lib/dm-rails/mass_assignment_security.rb

Methods

sanitize  

Public Instance methods

Returns all attributes not denied by the authorizer.

@param [Hash{Symbol,String,::DataMapper::Property,::DataMapper::Relationship=>Object}] attributes

  Names and values of attributes to sanitize.

@return [Hash]

  Sanitized hash of attributes.

[Validate]