Skip to content

When the association being passed to make!, machinist should not instantiate it #121

Open
@phuongnd08

Description

Given I have these blueprints as follow:

Company.blueprint do
end

User.blueprint do
   company
end

Then a call to User.make! will create a company as well.
However, if I do this: User.make!(:company => my_company), Machinist still create another company aside my_company, which is a redundant company.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions