summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-08-12 17:26:51 +0200
committerAzul <azul@riseup.net>2016-08-12 17:26:51 +0200
commit8fbe70729da1d308a118c930e8f938837484a61c (patch)
tree06b34c69cc535dce9c2786f7172a5ab1bb60e7e0 /app
parent8196f46b2c4d1d0dce7e4eafcc299879ec0d894b (diff)
[db] def database on users instead of use_database
use_database affects all uses of prepare_database - so also the one in tmp_database. In order to avoid that we do not use_database but just overwrite the database method itself.
Diffstat (limited to 'app')
-rw-r--r--app/models/user.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 1116e6c..9cebbca 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -5,8 +5,6 @@ require 'temporary_user'
class User < CouchRest::Model::Base
include LoginFormatValidation
- use_database :users
-
property :login, String, :accessible => true
property :password_verifier, String, :accessible => true
property :password_salt, String, :accessible => true