instance method all_attributes_exists?

Ruby on Rails 3.2.22.5

Since v3.2.22.5 Last seen in v3.2.22.5 Private — implementation detail, not part of the public API

Signature

all_attributes_exists?(attribute_names)

No documentation comment.

Parameters

attribute_names req
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

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close