Skip to content

Fix cattr_accessor definition

Jan Provaznik requested to merge rails5-cattr into master

What does this MR do?

Uses cattr_accessor directly inside the defined class, otherwise in Rails 5 this accessor returns nil.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #46282 (closed)

Merge request reports