Fix offline mode
This commit is contained in:
parent
4607ac2d30
commit
dbba67450a
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ module OpenStreetMap
|
|||
# config.i18n.default_locale = :de
|
||||
|
||||
# Do not swallow errors in after_commit/after_rollback callbacks.
|
||||
config.active_record.raise_in_transactional_callbacks = true
|
||||
config.active_record.raise_in_transactional_callbacks = true unless STATUS == :database_offline
|
||||
|
||||
# Custom directories with classes and modules you want to be autoloadable.
|
||||
config.autoload_paths += %W(#{config.root}/lib)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue