method
attributes_hash
v4.0.2 -
Show latest stable
- Class:
ActiveRecord::DynamicMatchers::Finder
attributes_hash()public
No documentation available.
# File activerecord/lib/active_record/dynamic_matchers.rb, line 92
def attributes_hash
"{" + attribute_names.map { |name| ":#{name} => #{name}" }.join(',') + "}"
end