aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/connection_specification.rb
diff options
context:
space:
mode:
authorAbdelkader Boudih <terminale@gmail.com>2015-12-15 22:01:30 +0000
committerAbdelkader Boudih <terminale@gmail.com>2015-12-17 15:54:57 +0000
commitfb24d0ed6c26da70045c6fc128aaa9dcb777c28c (patch)
tree43de162a22b07482034c63f75d58e6e3cf230c8f /activerecord/lib/active_record/connection_adapters/connection_specification.rb
parent0957c8ad6722c1a82c16f70b23fe1f7cb2607ff5 (diff)
downloadrails-fb24d0ed6c26da70045c6fc128aaa9dcb777c28c.tar.gz
rails-fb24d0ed6c26da70045c6fc128aaa9dcb777c28c.tar.bz2
rails-fb24d0ed6c26da70045c6fc128aaa9dcb777c28c.zip
Remove legacy mysql adapter
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/connection_specification.rb')
-rw-r--r--activerecord/lib/active_record/connection_adapters/connection_specification.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/connection_specification.rb b/activerecord/lib/active_record/connection_adapters/connection_specification.rb
index 08d46fca96..f633892dee 100644
--- a/activerecord/lib/active_record/connection_adapters/connection_specification.rb
+++ b/activerecord/lib/active_record/connection_adapters/connection_specification.rb
@@ -175,7 +175,7 @@ module ActiveRecord
rescue Gem::LoadError => e
raise Gem::LoadError, "Specified '#{spec[:adapter]}' for database adapter, but the gem is not loaded. Add `gem '#{e.name}'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord)."
rescue LoadError => e
- raise LoadError, "Could not load '#{path_to_adapter}'. Make sure that the adapter in config/database.yml is valid. If you use an adapter other than 'mysql', 'mysql2', 'postgresql' or 'sqlite3' add the necessary adapter gem to the Gemfile.", e.backtrace
+ raise LoadError, "Could not load '#{path_to_adapter}'. Make sure that the adapter in config/database.yml is valid. If you use an adapter other than 'mysql2', 'postgresql' or 'sqlite3' add the necessary adapter gem to the Gemfile.", e.backtrace
end
adapter_method = "#{spec[:adapter]}_connection"