summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-05-29 10:37:31 +0200
committerAzul <azul@leap.se>2014-05-29 10:37:31 +0200
commit85e066920568c19b788b8789c4659092224bb517 (patch)
tree8eeddd4492faa331dc5bb40cbde992aa317cfb98
parente0d31118d6e4110d2c280afa9415cfe9def29deb (diff)
ensure User#reload returns self
-rw-r--r--app/models/user.rb2
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={})