Module: ActiveRecord::Delegation::ClassMethods

Defined in:
activerecord/lib/active_record/relation/delegation.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#create(klass, *args) ⇒ Object


99
100
101
# File 'activerecord/lib/active_record/relation/delegation.rb', line 99

def create(klass, *args)
  relation_class_for(klass).new(klass, *args)
end