diff options
author | Vishal Telangre <the@vishaltelangre.com> | 2019-05-08 18:11:43 +0530 |
---|---|---|
committer | Vishal Telangre <the@vishaltelangre.com> | 2019-05-10 01:37:12 +0530 |
commit | bbcd707aefe5da137137a8deb13908ec9a7db77d (patch) | |
tree | 7d99cb9364e5130001cdacea7c267dbcd60d46da /activerecord/test/cases/json_serialization_test.rb | |
parent | 669b52d2965f50f1f3f99f1c54677a328191c69d (diff) | |
download | rails-bbcd707aefe5da137137a8deb13908ec9a7db77d.tar.gz rails-bbcd707aefe5da137137a8deb13908ec9a7db77d.tar.bz2 rails-bbcd707aefe5da137137a8deb13908ec9a7db77d.zip |
Fix: ActiveRecord::RecordInvalid is not raised when an associated record fails to #save! due to uniqueness validation failure
Add tests
Fix tests failing due to introduction of uniquness rule added to Book model
Diffstat (limited to 'activerecord/test/cases/json_serialization_test.rb')
0 files changed, 0 insertions, 0 deletions