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
accepts_nested_attributes_for tries to find the corresponding association, which is non-existent when DB schema is empty and migrations are just about to be run.
For that reason, it throws an error such as ArgumentError: No association found for name some_association'. Has it been defined yet?
What's the best workaround for this problem?
The text was updated successfully, but these errors were encountered:
accepts_nested_attributes_for
tries to find the corresponding association, which is non-existent when DB schema is empty and migrations are just about to be run.For that reason, it throws an error such as
ArgumentError: No association found for name some_association'. Has it been defined yet?
What's the best workaround for this problem?
The text was updated successfully, but these errors were encountered: