diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2012-01-04 11:49:19 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2012-01-04 11:49:19 -0700 |
commit | d9e0c4a0132ef71e9f6901440ed261037263dbc3 (patch) | |
tree | 6e0c1ec71a5a405e6fd375fc9d094d9263c6506b /railties/lib | |
parent | d22592a05b299c21e30ec8b38890a178dca863b4 (diff) | |
download | rails-d9e0c4a0132ef71e9f6901440ed261037263dbc3.tar.gz rails-d9e0c4a0132ef71e9f6901440ed261037263dbc3.tar.bz2 rails-d9e0c4a0132ef71e9f6901440ed261037263dbc3.zip |
Clarify vendor/plugins deprecation warning
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/plugin.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/plugin.rb b/railties/lib/rails/plugin.rb index 4c34eb331e..883453dad5 100644 --- a/railties/lib/rails/plugin.rb +++ b/railties/lib/rails/plugin.rb @@ -53,7 +53,7 @@ module Rails end def initialize(root) - ActiveSupport::Deprecation.warn "Plugins are deprecated and will be removed in Rails 4.0. Use gems instead or bundler with path or git dependencies." + ActiveSupport::Deprecation.warn "You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb." @name = File.basename(root).to_sym config.root = root end |