Added by Anonymous about 6 years ago.
Updated over 5 years ago.
3 (1 open — 2 closed)
Is duplicate of
Rails 5.1 says:
Passing a class to the `class_name` is deprecated and will raise an ArgumentError in Rails 5.2.
It eagerloads more classes than necessary and potentially creates circular dependencies.
Please pass the class name as a string.
Applied in changeset 9681a099bcecd86f5b44de4dd7db5c4232048443.
Also available in: Atom