aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/rails_application_templates.textile
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2012-01-02 18:49:18 -0200
committerSantiago Pastorino <santiago@wyeworks.com>2012-01-03 10:39:08 -0200
commitdad7fdc5734a3813246f238ac5760b2076932216 (patch)
tree84904473ab7af22f4ee29d86c75106050a25082e /railties/guides/source/rails_application_templates.textile
parentb627923b3c11bd5a0d05a1c601a92141703354c1 (diff)
downloadrails-dad7fdc5734a3813246f238ac5760b2076932216.tar.gz
rails-dad7fdc5734a3813246f238ac5760b2076932216.tar.bz2
rails-dad7fdc5734a3813246f238ac5760b2076932216.zip
Rails::Plugin has gone
Diffstat (limited to 'railties/guides/source/rails_application_templates.textile')
-rw-r--r--railties/guides/source/rails_application_templates.textile27
1 files changed, 1 insertions, 26 deletions
diff --git a/railties/guides/source/rails_application_templates.textile b/railties/guides/source/rails_application_templates.textile
index 3b51a52733..f50ced3307 100644
--- a/railties/guides/source/rails_application_templates.textile
+++ b/railties/guides/source/rails_application_templates.textile
@@ -1,6 +1,6 @@
h2. Rails Application Templates
-Application templates are simple Ruby files containing DSL for adding plugins/gems/initializers etc. to your freshly created Rails project or an existing Rails project.
+Application templates are simple Ruby files containing DSL for adding gems/initializers etc. to your freshly created Rails project or an existing Rails project.
By referring to this guide, you will be able to:
@@ -82,31 +82,6 @@ For example, if you need to source a gem from "http://code.whytheluckystiff.net"
add_source "http://code.whytheluckystiff.net"
</ruby>
-h4. plugin(name, options = {})
-
-Installs a plugin to the generated application.
-
-Plugin can be installed from Git:
-
-<ruby>
-plugin 'authentication', :git => 'git://github.com/foor/bar.git'
-</ruby>
-
-You can even install plugins as git submodules:
-
-<ruby>
-plugin 'authentication', :git => 'git://github.com/foor/bar.git',
- :submodule => true
-</ruby>
-
-Please note that you need to +git :init+ before you can install a plugin as a submodule.
-
-Or use plain old SVN:
-
-<ruby>
-plugin 'usingsvn', :svn => 'svn://example.com/usingsvn/trunk'
-</ruby>
-
h4. vendor/lib/file/initializer(filename, data = nil, &block)
Adds an initializer to the generated application’s +config/initializers+ directory.