Skip to content

Use string for class_name option for lazy autoload class

What does this MR do?

Passing a string would allow us to lazy autoload the class

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

No

Why was this MR needed?

Passing constant into this option is deprecated in Rails 5.2 https://github.com/rails/rails/commit/8312a0d22212798864f142b5a94805e0baa6c562

Screenshots (if relevant)

No

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports