We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make
make!
This is easier to demonstrate than describe. I'm not sure if this is a feature or bug, but it works correctly in Machinist 1.
User has_many :posts Post belongs_to :user
Post.blueprint do user end @user = User.make! @new_post = @user.posts.make! @new_post.user_id == @user.id # false in v. 2, true in v. 1
The text was updated successfully, but these errors were encountered:
Yeah, this has been bugging me. Here's a workaround I've been using...
@user.posts.create Post.make.attributes
Sorry, something went wrong.
+1 on getting this fixed.
+1
No branches or pull requests
This is easier to demonstrate than describe. I'm not sure if this is a feature or bug, but it works correctly in Machinist 1.
User has_many :posts
Post belongs_to :user
The text was updated successfully, but these errors were encountered: