diff options
author | Federico Ravasio <ravasio.federico@gmail.com> | 2013-10-07 10:20:05 +0200 |
---|---|---|
committer | Federico Ravasio <ravasio.federico@gmail.com> | 2013-10-08 00:15:07 +0200 |
commit | d8537ef1ec1ba51eb08087b4c929474f267bdf10 (patch) | |
tree | 8ed5ad62061e3324b8e3f8276b1fa9e5b4cf0c63 /activerecord/CHANGELOG.md | |
parent | afd0a8ab5f690b9bcc5f49371abd82d41a364f58 (diff) | |
download | rails-d8537ef1ec1ba51eb08087b4c929474f267bdf10.tar.gz rails-d8537ef1ec1ba51eb08087b4c929474f267bdf10.tar.bz2 rails-d8537ef1ec1ba51eb08087b4c929474f267bdf10.zip |
Assert presence of "frozen" in error message, not the full MRI message.
Related to all the other issues regarding message independent assertions
to make Rails compatible with other Ruby implementations other than MRI.
The best way here would be to have a specific error raised when modifying
frozen objects, like FrozenObjectError or something. But since Ruby
doesn't provide such a thing, we must limit the assertion to the lowest
common denominator, which is word "frozen".
Diffstat (limited to 'activerecord/CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions