You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rails shows error of mistyping, like a "method_missing': undefined method valisates' for Child:Class (NoMethodError)"
Actual behavior
Instead of this I have had an error:
"Rails couldn't find a valid model for Child association. Please provide the :class_name option on the association declaration. If :class_name is already provided, make sure it's an ActiveRecord::Base subclass.
raise NameError, msg"
And spent a lot of my time to resolve this issue by a relation changing