不要怂,就是干,撸起袖子干!

Commit 144a7d07 by Jan Aagaard Meier

spelling

1 parent 7361930c
Showing with 2 additions and 2 deletions
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
- [FEATURE] add increment and decrement methods on dao. #408 (thanks to janmeier/innofluence) - [FEATURE] add increment and decrement methods on dao. #408 (thanks to janmeier/innofluence)
- [FEATURE] unified the result of describeTable - [FEATURE] unified the result of describeTable
- [FEATURE] add support for decimals (thanks to alexyoung) - [FEATURE] add support for decimals (thanks to alexyoung)
- [FEATURE] added DAO.refresh(), which updates the attributes of the DAO in-place (as opposed to doing having to do a find() and returning a new model) - [FEATURE] added DAO.reload(), which updates the attributes of the DAO in-place (as opposed to doing having to do a find() and returning a new model)
# v1.5.0 # # v1.5.0 #
- [REFACTORING] use underscore functions for Utils.isHash (thanks to Mick-Hansen/innofluence) - [REFACTORING] use underscore functions for Utils.isHash (thanks to Mick-Hansen/innofluence)
......
...@@ -235,7 +235,7 @@ describe(Helpers.getTestDialectTeaser("DAO"), function() { ...@@ -235,7 +235,7 @@ describe(Helpers.getTestDialectTeaser("DAO"), function() {
this.User.create({ username: 'John Doe' }).done(function (err, originalUser) { this.User.create({ username: 'John Doe' }).done(function (err, originalUser) {
self.User.find(originalUser.id).done(function (err, updater) { self.User.find(originalUser.id).done(function (err, updater) {
updater.updateAttributes({ username: 'Doe John' }).done(function () { updater.updateAttributes({ username: 'Doe John' }).done(function () {
// We used a different refernce when calling updateAttributes, so originalUser is now out of sync // We used a different reference when calling updateAttributes, so originalUser is now out of sync
expect(originalUser.username).toEqual('John Doe') expect(originalUser.username).toEqual('John Doe')
originalUser.reload().done(function (err, updatedUser) { originalUser.reload().done(function (err, updatedUser) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!