diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-12-14 17:14:21 +0800 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-12-19 11:24:54 +0100 |
commit | 1ae28e0e7b5996536e4c8005c362d3f82088c77c (patch) | |
tree | a442626d6966d14088590472f1237aae4fc23287 /app/models/concerns/cacheable_attributes.rb | |
parent | 71672dfa6afbb374b24ae5457a58204708d948ed (diff) | |
download | gitlab-ce-1ae28e0e7b5996536e4c8005c362d3f82088c77c.tar.gz |
Return fake if and only if there's no database
Because `connect_to_db?` already detects if the table exists or not
Diffstat (limited to 'app/models/concerns/cacheable_attributes.rb')
0 files changed, 0 insertions, 0 deletions