Sha256: 163e92efb3be38672d53ea007e5bf797f5100f87ab0a8085fafd113b60489c0a
Contents?: true
Size: 374 Bytes
Versions: 5
Compression:
Stored size: 374 Bytes
Contents
module Toy module MassAssignmentSecurity extend ActiveSupport::Concern include ActiveModel::MassAssignmentSecurity module InstanceMethods def initialize(attrs={}) super(sanitize_for_mass_assignment(attrs || {})) end def update_attributes(attrs={}) super(sanitize_for_mass_assignment(attrs || {})) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems