diff options
author | Xavier Noria <fxn@hashref.com> | 2010-07-09 22:08:24 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-07-09 22:08:24 +0200 |
commit | 2f04c8785540597b02a265324c91267f09ddd07c (patch) | |
tree | 0cb9aea2110507b4f525302e1babc998b8cc801e /railties/guides/source/plugins.textile | |
parent | c9ae2c11ebbf42d887dced2938a59e8d0634d60a (diff) | |
parent | c6f4c5916ef467814d970c70627a82c1df4d2686 (diff) | |
download | rails-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.textile | 2 |
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. |