RailsDoc(β)
v6.1
v8.0
v7.2
v7.1
v7.0
v6.1
v6.0
v5.2
GitHub
Ruby on Rails 6.1.7
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.