diff options
author | Azul <azul@riseup.net> | 2016-04-26 20:45:07 -0300 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-04-26 20:45:07 -0300 |
commit | 66e2546d6406785c7a085d191bfbaf5e87543245 (patch) | |
tree | 45db3cd6cee9aded0c759172e7693dee7497bb6a /config/initializers/validations.rb | |
parent | 7e0cd47ab44389fb9933345407ad2c2cd2a579b6 (diff) |
remove outdated couchrest hack
We had rewritten use_database so it would not crash the entire app
if couch was not available at the time of initialization.
couchrest now moved on and only sets the database name on use_database.
The database will only be queried once it is really needed. So pretty
much exactly what we want.
Our hack instead caused quite a bit of problems as it would still
initialize the database during start. This way the app would remain
in an invalid state even when couch came back.
Diffstat (limited to 'config/initializers/validations.rb')
0 files changed, 0 insertions, 0 deletions