cleaner database.yml
This commit is contained in:
@@ -26,7 +26,7 @@ module BikeBike
|
||||
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
||||
config.i18n.default_locale = :en #:de
|
||||
config.i18n.enforce_available_locales = false
|
||||
self.paths['config/database'] = Rails.root.parent.join("secure/database.yml").to_s
|
||||
self.paths['config/database'] = Rails.root.parent.join('BikeBike', 'config', 'database.yml')
|
||||
# config.action_controller.default_url_options = { :trailing_slash => true }
|
||||
#config.middleware.swap 'Rack::MethodOverride', 'Rack::MethodOverrideWithParams'
|
||||
#config.i18n.exception_handler = I18n::MissingTranslationExceptionHandler.new
|
||||
|
||||
@@ -56,3 +56,4 @@ production:
|
||||
|
||||
cucumber:
|
||||
<<: *test
|
||||
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
development:
|
||||
adapter: postgresql
|
||||
encoding: unicode
|
||||
database: bike_bike_dev
|
||||
username: bike_bike
|
||||
password: admin
|
||||
host: 127.0.0.1
|
||||
port: 5432
|
||||
pool: 5
|
||||
|
||||
|
||||
test: &test
|
||||
adapter: postgresql
|
||||
encoding: unicode
|
||||
database: bike_bike_test
|
||||
username: bike_bike
|
||||
password: admmin
|
||||
host: 127.0.0.1
|
||||
port: 5432
|
||||
pool: 5
|
||||
|
||||
production:
|
||||
adapter: postgresql
|
||||
encoding: unicode
|
||||
database: bike_bike
|
||||
username: bike_bike
|
||||
password: admin
|
||||
host: 127.0.0.1
|
||||
port: 5432
|
||||
pool: 5
|
||||
|
||||
cucumber:
|
||||
<<: *test
|
||||
Reference in New Issue
Block a user