method
construct_scope
Ruby on Rails latest stable (v6.1.7.7)
-
0 notes -
Class: ActiveRecord::Associations::HasOneAssociation
construct_scope()
private
Hide source
# File activerecord/lib/active_record/associations/has_one_association.rb, line 105 def construct_scope create_scoping = {} set_belongs_to_association_for(create_scoping) { :create => create_scoping } end