instance method
all_attributes_exists?
Ruby on Rails 3.2.22.5
Since v3.2.22.5 Last seen in v3.2.22.5 PrivateSignature
all_attributes_exists?(attribute_names)
No documentation comment.
Parameters
-
attribute_namesreq
Source
# File activerecord/lib/active_record/dynamic_matchers.rb, line 72
def all_attributes_exists?(attribute_names)
(expand_attribute_names_for_aggregates(attribute_names) -
column_methods_hash.keys).empty?
end
Defined in activerecord/lib/active_record/dynamic_matchers.rb line 72
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::DynamicMatchers