diff options
author | Azul <azul@leap.se> | 2014-05-29 10:37:31 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-05-29 10:37:31 +0200 |
commit | 85e066920568c19b788b8789c4659092224bb517 (patch) | |
tree | 8eeddd4492faa331dc5bb40cbde992aa317cfb98 /app/models | |
parent | e0d31118d6e4110d2c280afa9415cfe9def29deb (diff) |
ensure User#reload returns self
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 84a795e..f8b9ddc 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -43,8 +43,8 @@ class User < CouchRest::Model::Base end # end of design def reload - super @identity = nil + super end def to_json(options={}) |