Fix cattr_accessor definition
Use cattr_accessor directly inside the defined class, otherwise in Rails 5 this accessor returns nil.
Showing
Please register or sign in to comment
Use cattr_accessor directly inside the defined class, otherwise in Rails 5 this accessor returns nil.