GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
Is there any reason why the .save method in lib/her/model/orm.rb does not return false if there are any errors (self.errors)?
Making it return true or false instead of self would make it more similar to the way Rails works.
Any news on this one? Would be interested too. Would you accept pull request which change this behaviour?
Just pushed 711bde3 which fixes this issue! Thanks for the suggestion, and sorry for the delay…
Cool! Thank you!
Fix .save_existing not returning resource anymore (introduced by #36 …