Pattern: Malfromed reflection class name
Issue: -
Checks if the value of the option class_name
, in the definition of a reflection is a string.
# bad
has_many :accounts, class_name: Account
has_many :accounts, class_name: Account.name
# good
has_many :accounts, class_name: 'Account'