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
@gabriel-cardoso This means that ModelFieldParsers::Relations added a BelongsTo field to your model but the model can't find the relation with the given name. Since relations are fetched from the same ActiveRecord::Base.reflections hash when creating the BelongsTo field than the one used when trying to fetch the relation from inside the field class, there's something happening that I can't guess from the information that you gave to me
In
belongs_to.rb
at line 7undefined method
foreign_key' for nil:NilClass`The text was updated successfully, but these errors were encountered: