diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2012-01-02 22:04:38 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2012-01-03 10:37:47 -0200 |
commit | 853de2bd9ac572735fa6cf59fcf827e485a231c3 (patch) | |
tree | dca89e17f2f6e8dabe0571ddf50b97e27dca59a1 /railties/lib/rails/plugin.rb | |
parent | 2535898acfb5ebbb8933be48ce4dd536046cf272 (diff) | |
download | rails-853de2bd9ac572735fa6cf59fcf827e485a231c3.tar.gz rails-853de2bd9ac572735fa6cf59fcf827e485a231c3.tar.bz2 rails-853de2bd9ac572735fa6cf59fcf827e485a231c3.zip |
Deprecate Rails::Plugin in favor of gems
Diffstat (limited to 'railties/lib/rails/plugin.rb')
-rw-r--r-- | railties/lib/rails/plugin.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/plugin.rb b/railties/lib/rails/plugin.rb index 3e27688bb9..4c34eb331e 100644 --- a/railties/lib/rails/plugin.rb +++ b/railties/lib/rails/plugin.rb @@ -53,6 +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." @name = File.basename(root).to_sym config.root = root end |