Hey, found a simple typo that confused me for a second.
Factory.define(:group) do |f|
f.name 'Admins'
end
Factory.define(:user) do |f|
f.name 'John'
f.association(:user)
end
In current state, this states that user
belongs_to user.
It should belong to a group, so a simple change of f.association(:user)
to f.association(:group)
EDIT:
I wanted to submit a quick PR for this, but after forking I saw that, the file for the docsite actually has that change Fix some documentation · rom-rb/rom-factory@fab9dd5 · GitHub
However going to the actual site, the typo is still there. Was it simply never deployed or something?