Sha256: a7768d1292a60e93d50f8f99f6534ef71f526f8b2d217688a03a4b131992f606
Contents?: true
Size: 176 Bytes
Versions: 3
Compression:
Stored size: 176 Bytes
Contents
ActiveRecord::Base.class_eval do def log_protected_attribute_removal(*attributes) raise "Can't mass-assign these protected attributes: #{attributes.join(', ')}" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tsrails-2.0.3 | template/files/noisy_attr_accessible.rb |
tsrails-2.0.2 | template/files/noisy_attr_accessible.rb |
tsrails-2.0.0 | template/files/noisy_attr_accessible.rb |