Module: ActiveRecordIgnoredAttributes
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/active_record_ignored_attributes.rb,
lib/active_record_ignored_attributes/version.rb
Defined Under Namespace
Modules: Inspect, SameAttributesAs
Constant Summary collapse
- Version =
"0.0.1"
Instance Method Summary collapse
Instance Method Details
#attributes_without_ignored_attributes ⇒ Object
16 17 18 |
# File 'lib/active_record_ignored_attributes.rb', line 16 def attributes_without_ignored_attributes attributes.except(*self.class.ignored_attributes.map(&:to_s)) end |