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



105
106
107
# File 'activerecord/lib/active_record/relation/delegation.rb', line 105

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