Method: ActiveModel::AttributeFilters#all_attributes
- Defined in:
- lib/attribute-filters/dsl_sets.rb
#all_attributes(simple = false, no_presence_check = true) ⇒ AttributeSet Also known as: all_attributes_set
Returns a set containing all known attributes without wrapping the result in a proxy.
91 92 93 94 |
# File 'lib/attribute-filters/dsl_sets.rb', line 91 def all_attributes(simple = false, no_presence_check = true) r = __all_attributes(no_presence_check).deep_dup simple ? r : ActiveModel::AttributeSet::Query.new(r, self) end |