RailsDoc(β)
v5.2
v7.2
v7.1
v7.0
v6.1
v6.0
v5.2
GitHub
Ruby on Rails 5.2.8
Class
ActiveRecord::RecordNotUnique
<
ActiveRecord::WrappedDatabaseException
activerecord/lib/active_record/errors.rb
Raised when a record cannot be inserted or updated because it would violate a uniqueness constraint.