create_scope()
private

No documentation available.

# File activerecord/lib/active_record/associations/collection_association.rb, line 445
        def create_scope
          scoped.scope_for_create.stringify_keys
        end

1Note

Return value:

Ajedi32 ยท Sep 19, 2012

The result of this method is a hash of the following form:

{"table_field"=>"table value", "another_field" => 15, ...}

For example:

{"user_id"=>21}