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
Whenever you have an association with a name that doesn't match associated class name, act_as_a_list_mongoid will try to use the 'associated class pluralized and underscoralized name' when one of its methods is invoked, raising a "NoMethodError" exception.
Whenever you have an association with a name that doesn't match associated class name, act_as_a_list_mongoid will try to use the 'associated class pluralized and underscoralized name' when one of its methods is invoked, raising a "NoMethodError" exception.
Example:
Calling commit.init_list! will raise the error.
Workaround:
add an alias to match relation name. In above's case,
The text was updated successfully, but these errors were encountered: