method
valid?
v7.0.0 -
Show latest stable
- Class:
ActiveRecord::DynamicMatchers::Method
valid?()public
No documentation available.
# File activerecord/lib/active_record/dynamic_matchers.rb, line 59
def valid?
attribute_names.all? { |name| model.columns_hash[name] || model.reflect_on_aggregation(name.to_sym) }
end