Skip to content
New issue

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

Only drop autogenerated ids and not domain ids #147

Merged
merged 3 commits into from
Jul 5, 2016

Conversation

geofflane
Copy link
Contributor

Fixes #143. Drops only auto-generated ids and not custom IDs that are meaningful in the domain.

custom_id: 1,
name: "Testing"
}
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a newline underneath this?

@paulcsmith
Copy link
Contributor

This looks awesome! Just a couple small comments and then I'll merge this in

@geofflane
Copy link
Contributor Author

@paulcsmith Fixed the feedback issues.

@paulcsmith paulcsmith merged commit 8a55155 into beam-community:master Jul 5, 2016
@paulcsmith
Copy link
Contributor

@geofflane Thank you!

@mootpointer
Copy link

mootpointer commented Aug 3, 2016

The above doesn't solve the case where I have an auto-incrementing ID which I have chosen to override. For example if I'm using params_for to generate the parameters that I'm using to update a given record.

Shall I open an issue for this?

@paulcsmith
Copy link
Contributor

@mootpointer Yes, could you please open an issue with an example of the schema, the factory and the test? I'm not totally sure what you're trying to do so I think that will help us figure it out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants