diff options
author | Benjamin Quorning <benjamin@quorning.net> | 2016-05-24 13:16:40 +0200 |
---|---|---|
committer | Benjamin Quorning <benjamin@quorning.net> | 2016-05-24 13:20:28 +0200 |
commit | e4701e613c9fcbbec7fed51447f512d1b9347f17 (patch) | |
tree | 5389867942434336a8925ad3018a35ef2b9b1772 /railties/lib/rails/generators/test_unit | |
parent | 661ed303f49128b92a5a88d25deebcebbc891b55 (diff) | |
download | rails-e4701e613c9fcbbec7fed51447f512d1b9347f17.tar.gz rails-e4701e613c9fcbbec7fed51447f512d1b9347f17.tar.bz2 rails-e4701e613c9fcbbec7fed51447f512d1b9347f17.zip |
[] and read_attribute are not aliases [ci skip]
The `#[]` method *used to be* an alias of `#read_attribute`, but since Rails 4
(10f6f90d9d1bbc9598bffea90752fc6bd76904cd), it will raise an exception for
missing attributes. Saying that it is an alias is confusing.
Diffstat (limited to 'railties/lib/rails/generators/test_unit')
0 files changed, 0 insertions, 0 deletions