aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/plugins.textile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-07-09 22:08:24 +0200
committerXavier Noria <fxn@hashref.com>2010-07-09 22:08:24 +0200
commit2f04c8785540597b02a265324c91267f09ddd07c (patch)
tree0cb9aea2110507b4f525302e1babc998b8cc801e /railties/guides/source/plugins.textile
parentc9ae2c11ebbf42d887dced2938a59e8d0634d60a (diff)
parentc6f4c5916ef467814d970c70627a82c1df4d2686 (diff)
downloadrails-2f04c8785540597b02a265324c91267f09ddd07c.tar.gz
rails-2f04c8785540597b02a265324c91267f09ddd07c.tar.bz2
rails-2f04c8785540597b02a265324c91267f09ddd07c.zip
Merge remote branch 'docrails/master'
Diffstat (limited to 'railties/guides/source/plugins.textile')
-rw-r--r--railties/guides/source/plugins.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/plugins.textile b/railties/guides/source/plugins.textile
index a12434a95b..e853ba79e9 100644
--- a/railties/guides/source/plugins.textile
+++ b/railties/guides/source/plugins.textile
@@ -1284,7 +1284,7 @@ class YaffleMigrationGenerator < Rails::Generator::NamedBase
end
</ruby>
-The generator creates a new file in 'db/migrate' with a timestamp and an 'add_column' statement. It reuses the built in rails +migration_template+ method, and reuses the built-in rails migration template.
+The generator creates a new file in 'db/migrate' with a timestamp and an 'add_column' statement. It reuses the built-in rails +migration_template+ method, and reuses the built-in rails migration template.
It's courteous to check to see if table names are being pluralized whenever you create a generator that needs to be aware of table names. This way people using your generator won't have to manually change the generated files if they've turned pluralization off.