aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/project.rb
diff options
context:
space:
mode:
authorFranky W <frankywahl@users.noreply.github.com>2014-11-06 09:07:29 -0800
committerFranky W <frankywahl@users.noreply.github.com>2014-11-06 19:38:58 -0800
commitd424ded6fd4b923802e9dab62b463a6f3439417f (patch)
tree88c054c1cede1b3abe8d22615f4ea2d82eee769d /activerecord/test/models/project.rb
parent9a517b5a0b97b8872af1e66b2a5e3fd765f0d0a1 (diff)
downloadrails-d424ded6fd4b923802e9dab62b463a6f3439417f.tar.gz
rails-d424ded6fd4b923802e9dab62b463a6f3439417f.tar.bz2
rails-d424ded6fd4b923802e9dab62b463a6f3439417f.zip
Print out a meaningful error when ActiveRecord::ReadOnlyRecord is raised
Currently, there is no messages which get printed out. Convoluted system may have hooks that create other objects in which case we only fail with no messages. This commit changes this information allowing you to know which object is the one that actually raised the error.
Diffstat (limited to 'activerecord/test/models/project.rb')
0 files changed, 0 insertions, 0 deletions