Permalink
Browse files

Use to_sentence rather than inspect when reporting which registered p…

…lugins are missing

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6291 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 15c466d commit 3d2c232d21ac526e61ca114a058a794bfa19dcbe Marcel Molina committed Mar 2, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/plugin/locator.rb
@@ -46,7 +46,7 @@ def ensure_all_registered_plugins_are_loaded!(loaders)
unless registered_plugins.nil? || registered_plugins.empty?
missing_plugins = registered_plugins - loaders.map(&:name)
unless missing_plugins.empty?
- raise LoadError, "Could not locate the following plugins: #{missing_plugins.inspect}"
+ raise LoadError, "Could not locate the following plugins: #{missing_plugins.to_sentence}"
end
end
end

0 comments on commit 3d2c232

Please sign in to comment.