Skip to content
Browse files

exception message change

  • Loading branch information...
1 parent 38ae8b4 commit 1e61e44c8a6036c5608c532607969492140ef692 @mynameisrufus mynameisrufus committed with Sep 1, 2010
Showing with 3 additions and 1 deletion.
  1. +2 −0 connection_ninja.gemspec
  2. +1 −1 lib/connection_ninja/orms/active_record.rb
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

0 comments on commit 1e61e44

Please sign in to comment.
Something went wrong with that request. Please try again.