diff --git a/config/database.yml.base b/config/database.yml.base index d711d3d..1c557fb 100644 --- a/config/database.yml.base +++ b/config/database.yml.base @@ -1,22 +1,14 @@ default: &default adapter: mysql2 encoding: utf8 username: base password: base host: localhost -local_development: - <<: *default - database: local_base_development - -local_test: - <<: *default - database: local_base_test - development: <<: *default database: base test: <<: *default database: base_test diff --git a/lib/local_db.rb b/lib/local_db.rb deleted file mode 100644 index 9036d8f..0000000 --- a/lib/local_db.rb +++ /dev/null @@ -1,3 +0,0 @@ -module LocalDb - establish_connection "local_#{Rails.application.class.parent_name.downcase}_#{Rails.env}".to_sym -end