[] and read_attribute are not aliases [ci skip]

The `#[]` method *used to be* an alias of `#read_attribute`, but since Rails 4
(10f6f90d9d), it will raise an exception for
missing attributes. Saying that it is an alias is confusing.
This commit is contained in:
Benjamin Quorning 2016-05-24 13:16:40 +02:00
parent 661ed303f4
commit e4701e613c
1 changed files with 0 additions and 2 deletions

View File

@ -334,8 +334,6 @@ module ActiveRecord
#
# Note: +:id+ is always present.
#
# Alias for the #read_attribute method.
#
# class Person < ActiveRecord::Base
# belongs_to :organization
# end