aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_coder@freenet.de>2009-02-16 12:07:55 +0100
committerAndreas Scherer <andreas_coder@freenet.de>2009-02-16 12:07:55 +0100
commite8053435acfc134bad7ace3216de26665fb8d5cc (patch)
tree3d947e0b4a469f1721f8a335c77d3e8179d29f97 /railties
parentce49b7522ad47ab28b2e4a7539e15751eccd7cdd (diff)
downloadrails-e8053435acfc134bad7ace3216de26665fb8d5cc.tar.gz
rails-e8053435acfc134bad7ace3216de26665fb8d5cc.tar.bz2
rails-e8053435acfc134bad7ace3216de26665fb8d5cc.zip
Consistent monospaced markup for command options.
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/plugins.textile8
1 files changed, 4 insertions, 4 deletions
diff --git a/railties/guides/source/plugins.textile b/railties/guides/source/plugins.textile
index 668d4d6c45..d2fb157e35 100644
--- a/railties/guides/source/plugins.textile
+++ b/railties/guides/source/plugins.textile
@@ -51,7 +51,7 @@ NOTE: The aforementioned instructions will work for sqlite3. For more detailed
h4. Generate the plugin skeleton
-Rails ships with a plugin generator which creates a basic plugin skeleton. Pass the plugin name, either 'CamelCased' or 'under_scored', as an argument. Pass +\--with-generator+ to add an example generator also.
+Rails ships with a plugin generator which creates a basic plugin skeleton. Pass the plugin name, either 'CamelCased' or 'under_scored', as an argument. Pass +--with-generator+ to add an example generator also.
This creates a plugin in 'vendor/plugins' including an 'init.rb' and 'README' as well as standard 'lib', 'task', and 'test' directories.
@@ -63,7 +63,7 @@ Examples:
To get more detailed help on the plugin generator, type +./script/generate plugin+.
-Later on this guide will describe how to work with generators, so go ahead and generate your plugin with the +\--with-generator+ option now:
+Later on this guide will describe how to work with generators, so go ahead and generate your plugin with the +--with-generator+ option now:
<pre>
./script/generate plugin yaffle --with-generator
@@ -796,7 +796,7 @@ You can also see if your routes work by running +rake routes+ from your app dire
h3. Generators
-Many plugins ship with generators. When you created the plugin above, you specified the --with-generator option, so you already have the generator stubs in 'vendor/plugins/yaffle/generators/yaffle'.
+Many plugins ship with generators. When you created the plugin above, you specified the +--with-generator+ option, so you already have the generator stubs in 'vendor/plugins/yaffle/generators/yaffle'.
Building generators is a complex topic unto itself and this section will cover one small aspect of generators: generating a simple text file.
@@ -1509,4 +1509,4 @@ h3. Changelog
"Lighthouse ticket":http://rails.lighthouseapp.com/projects/16213/tickets/32-update-plugins-guide
-* November 17, 2008: Major revision by Jeff Dean \ No newline at end of file
+* November 17, 2008: Major revision by Jeff Dean