method

create!

rails latest stable - Class: ActiveRecord::Validations::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

create!(attributes = nil, &block)
public

Creates an object just like Base.create but calls save! instead of save so an exception is raised if the record is invalid.