Method: ActiveRecord::Relation#scope_for_create
- Defined in:
- lib/ocean-dynamo/active_record_stuff/relation.rb
#scope_for_create ⇒ Object
512 513 514 |
# File 'lib/ocean-dynamo/active_record_stuff/relation.rb', line 512 def scope_for_create @scope_for_create ||= where_values_hash.merge(create_with_value) end |