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

Make overriding create resource easier #2308

Merged
merged 2 commits into from
Jan 12, 2023

Conversation

cyu
Copy link
Contributor

@cyu cyu commented Jan 3, 2023

Use new_resource in the create action. This will make it easier for subclasses to further initialize the model before creating the model.

@pablobm
Copy link
Collaborator

pablobm commented Jan 12, 2023

Thank you! 🙂

@pablobm pablobm merged commit 730fe02 into thoughtbot:main Jan 12, 2023
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.

2 participants