method

create

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ClassMethods
create(klass, *args, **kwargs) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/relation/delegation.rb, line 131
      def create(klass, *args, **kwargs)
        relation_class_for(klass).new(klass, *args, **kwargs)
      end
Register or log in to add new notes.