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

Include response errors in RemoteRecordNotSaved exception #75

Merged
merged 3 commits into from
Apr 16, 2019

Conversation

film42
Copy link
Collaborator

@film42 film42 commented Apr 15, 2019

This seems like a more correct behavior than: ActiveRemote::RemoteRecordNotSaved: ActiveRemote::RemoteRecordNotSaved.

cc @liveh2o

@film42 film42 force-pushed the gt/add_errors_to_not_saved branch from 565c9a6 to 5a03eda Compare April 16, 2019 14:02
Copy link
Owner

@liveh2o liveh2o left a comment

Choose a reason for hiding this comment

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

Looks good. I'll get this merged and cut a release today.

Which Rails version are you using this with? The last two releases require specific Rails versions (5.1 or 5.0), so this will need to be back ported if you need it in a different version.

@film42
Copy link
Collaborator Author

film42 commented Apr 16, 2019

I was trying to get this in a rails 4.2 app, so I'll get this back-ported once this is merged.

@film42 film42 merged commit 9144e07 into master Apr 16, 2019
@film42 film42 deleted the gt/add_errors_to_not_saved branch April 16, 2019 20:36
film42 added a commit that referenced this pull request Apr 16, 2019
film42 added a commit that referenced this pull request Apr 16, 2019
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