diff options
author | Jeff Dean <jeff@zilkey.com> | 2008-11-14 02:29:12 -0500 |
---|---|---|
committer | Jeff Dean <jeff@zilkey.com> | 2008-11-14 02:29:12 -0500 |
commit | 7eb249291d1c8a8af14c52de4767a36ba8f924e3 (patch) | |
tree | 57b0d3c3c9a59088b46fa009117896efbfe2a463 /railties/doc/guides/source/creating_plugins/migration_generator.txt | |
parent | 8a9bd56ca0d43c703f330e378474ddbdca2acd8e (diff) | |
download | rails-7eb249291d1c8a8af14c52de4767a36ba8f924e3.tar.gz rails-7eb249291d1c8a8af14c52de4767a36ba8f924e3.tar.bz2 rails-7eb249291d1c8a8af14c52de4767a36ba8f924e3.zip |
Plugin guide: added model and controller sections
Diffstat (limited to 'railties/doc/guides/source/creating_plugins/migration_generator.txt')
-rw-r--r-- | railties/doc/guides/source/creating_plugins/migration_generator.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/railties/doc/guides/source/creating_plugins/migration_generator.txt b/railties/doc/guides/source/creating_plugins/migration_generator.txt index 743d512132..f4fc32481c 100644 --- a/railties/doc/guides/source/creating_plugins/migration_generator.txt +++ b/railties/doc/guides/source/creating_plugins/migration_generator.txt @@ -1,4 +1,4 @@ -== Create a migration generator == +== Create a generator == 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'. @@ -30,7 +30,7 @@ require 'rails_generator' require 'rails_generator/scripts/generate' require 'rails_generator/scripts/destroy' -class YaffleTest < Test::Unit::TestCase +class GeneratorTest < Test::Unit::TestCase def fake_rails_root File.join(File.dirname(__FILE__), 'rails_root') @@ -124,7 +124,6 @@ end ------------------------------------------------------------------ - === The USAGE file === Rails ships with several built-in generators. You can see all of the generators available to you by typing the following at the command line: |