Skip to content

Refactor associate user method in order model#134

Open
vinay-mittal wants to merge 2 commits into
vinsol:masterfrom
vinay-mittal:refactor_associate_user_method_in_order_model
Open

Refactor associate user method in order model#134
vinay-mittal wants to merge 2 commits into
vinsol:masterfrom
vinay-mittal:refactor_associate_user_method_in_order_model

Conversation

@vinay-mittal
Copy link
Copy Markdown

if persisted? is used so that if a new record is there it will not throw error and will not save order object also and query will also be not fired in that case which was fired earlier
Also all specs are succesfull by this change

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