diff options
author | Jeff Dean <jeff@zilkey.com> | 2008-11-17 00:45:20 -0500 |
---|---|---|
committer | Jeff Dean <jeff@zilkey.com> | 2008-11-17 00:45:20 -0500 |
commit | 3fbd9acc5c6418cffe8b2676f9e9e69ee1a84847 (patch) | |
tree | d83b401f7699c1c5320d8b8a87fc37d4dc030e62 /railties/doc/guides/source/creating_plugins/generators.txt | |
parent | f22b686ebb8b8606e752188aa072b40700f01f54 (diff) | |
download | rails-3fbd9acc5c6418cffe8b2676f9e9e69ee1a84847.tar.gz rails-3fbd9acc5c6418cffe8b2676f9e9e69ee1a84847.tar.bz2 rails-3fbd9acc5c6418cffe8b2676f9e9e69ee1a84847.zip |
Plugin guide: Edits
Diffstat (limited to 'railties/doc/guides/source/creating_plugins/generators.txt')
-rw-r--r-- | railties/doc/guides/source/creating_plugins/generators.txt | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/railties/doc/guides/source/creating_plugins/generators.txt b/railties/doc/guides/source/creating_plugins/generators.txt index 8ef46561d1..f856bec7a2 100644 --- a/railties/doc/guides/source/creating_plugins/generators.txt +++ b/railties/doc/guides/source/creating_plugins/generators.txt @@ -2,14 +2,7 @@ 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: creating a generator that adds a time-stamped migration. - -To add a generator to a plugin: - - * Write a test - * Add your instructions to the 'manifest' method of the generator - * Add any necessary template files to the templates directory - * Update the USAGE file to add helpful documentation for your generator +Building generators is a complex topic unto itself and this section will cover one small aspect of generators: generating a simple text file. === Testing generators === |