[] and read_attribute are not aliases [ci skip]
The `#[]` method *used to be* an alias of `#read_attribute`, but since Rails 4 (10f6f90d), it will raise an exception for missing attributes. Saying that it is an alias is confusing.
Showing
想要评论请 注册 或 登录