Module: ActiveRecord::Delegation::ClassMethods

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#create(klass, *args) ⇒ Object



103
104
105
# File 'lib/active_record/relation/delegation.rb', line 103

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