Call the new point behavior `:point`, not `:rails_5_1_point`
Since the attributes API is new in Rails 5, we don't actually need to keep the behavior of `attribute :point`, as it's not a breaking change.
Showing
想要评论请 注册 或 登录
Since the attributes API is new in Rails 5, we don't actually need to keep the behavior of `attribute :point`, as it's not a breaking change.