Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

exception message change

  • Loading branch information...
commit 1e61e44c8a6036c5608c532607969492140ef692 1 parent 38ae8b4
@mynameisrufus mynameisrufus authored committed
View
2  connection_ninja.gemspec
@@ -26,6 +26,8 @@ Gem::Specification.new do |s|
"VERSION",
"connection_ninja.gemspec",
"lib/connection_ninja.rb",
+ "lib/connection_ninja/orms/active_record.rb",
+ "lib/connection_ninja/railtie.rb",
"spec/connection_ninja_spec.rb",
"spec/fixtures/database.yml",
"spec/fixtures/models.rb",
View
2  lib/connection_ninja/orms/active_record.rb
@@ -13,7 +13,7 @@ def ninja_config(config_group)
begin
configurations[config_group.to_s][Rails.env]
rescue
- raise ::ActiveRecord::AdapterNotFound, "connection ninja could not find the #{Rails.env} configuration group \"#{config_group.to_s}\""
+ raise ::ActiveRecord::AdapterNotFound, "connection ninja could not find the #{Rails.env} configuration for group \"#{config_group.to_s}\""
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.