diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-04-25 18:33:36 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-04-25 18:33:36 +0530 |
commit | 4a3ce153f1e05c9c590e9ee74e818649336d929f (patch) | |
tree | 8552fc2e59d0217c43dba6cb376b111799ac2fa3 /guides/source/plugins.textile | |
parent | bb0906e2d7c283bccae3d903e9b19a83ca297811 (diff) | |
parent | 8189536aeb91394ccc649b9c14f0cf15c25b9423 (diff) | |
download | rails-4a3ce153f1e05c9c590e9ee74e818649336d929f.tar.gz rails-4a3ce153f1e05c9c590e9ee74e818649336d929f.tar.bz2 rails-4a3ce153f1e05c9c590e9ee74e818649336d929f.zip |
Merge branch 'master' of github.com:lifo/docrails
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 |