Documents that ActiveRecord instances also support []/[]= methods for reading/writing attributes
Only write_attribute and read_attribute were documented and there was no mention to this alternative.
Showing
想要评论请 注册 或 登录
Only write_attribute and read_attribute were documented and there was no mention to this alternative.