diff options
author | Jonathan Rochkind <jonathan@dnil.net> | 2012-04-24 16:47:44 -0300 |
---|---|---|
committer | Jonathan Rochkind <jonathan@dnil.net> | 2012-04-24 16:47:44 -0300 |
commit | cdc9031402e9d754518d8955a093820d528456a3 (patch) | |
tree | 57ebd403e8e25f0cb758b14e30cc4a8d5f1cd92f /guides/source/plugins.textile | |
parent | 9dbd511172170f60b96012b7b87044638c3962b8 (diff) | |
download | rails-cdc9031402e9d754518d8955a093820d528456a3.tar.gz rails-cdc9031402e9d754518d8955a093820d528456a3.tar.bz2 rails-cdc9031402e9d754518d8955a093820d528456a3.zip |
Remove references to 'vendored plugins' except to note they used to exist but are deprecated. 'gemified plugin' is the only supported option now.
Diffstat (limited to 'guides/source/plugins.textile')
-rw-r--r-- | guides/source/plugins.textile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/guides/source/plugins.textile b/guides/source/plugins.textile index 97b4eca779..95e38db483 100644 --- a/guides/source/plugins.textile +++ b/guides/source/plugins.textile @@ -25,16 +25,14 @@ endprologue. h3. Setup -Before you continue, take a moment to decide if your new plugin will be potentially shared across different Rails applications. +_"vendored plugins"_ were available in previous versions of Rails, but they are deprecated in +Rails 3.2, and will not be available in the future. -* If your plugin is specific to your application, your new plugin will be a _vendored plugin_. -* If you think your plugin may be used across applications, build it as a _gemified plugin_. +Currently, Rails plugins are built as gems, _gemified plugins_. They can be shared accross +different rails applications using RubyGems and Bundler if desired. h4. Generate a gemified plugin. -Writing your Rails plugin as a gem, rather than as a vendored plugin, - lets you share your plugin across different rails applications using - RubyGems and Bundler. Rails 3.1 ships with a +rails plugin new+ command which creates a skeleton for developing any kind of Rails extension with the ability |