Module: Ignorable::InstanceMethods
- Defined in:
- lib/ignorable.rb
Instance Method Summary collapse
-
#attribute_names ⇒ Object
:nodoc:.
-
#attributes ⇒ Object
:nodoc:.
Instance Method Details
#attribute_names ⇒ Object
:nodoc:
10 11 12 |
# File 'lib/ignorable.rb', line 10 def attribute_names # :nodoc: super.reject{|col| self.class.ignored_column?(col)} end |
#attributes ⇒ Object
:nodoc:
6 7 8 |
# File 'lib/ignorable.rb', line 6 def attributes # :nodoc: super.reject{|col, _val| self.class.ignored_column?(col)} end |