method
create
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::Associations::AssociationScope
create(&block)public
No documentation available.
# File activerecord/lib/active_record/associations/association_scope.rb, line 10
def self.create(&block)
block ||= lambda { |val| val }
new(block)
end