aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/generators.textile
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2011-06-01 17:48:09 +0900
committerAkira Matsuda <ronnie@dio.jp>2011-06-01 17:48:09 +0900
commit90887cbb355f583931cba70adc460b88fca7395f (patch)
tree6a6c6eb921be7c8635da3a961af659591550b7d7 /railties/guides/source/generators.textile
parent6014e1d3258baef4e5b08a29876b7758363c2c22 (diff)
downloadrails-90887cbb355f583931cba70adc460b88fca7395f.tar.gz
rails-90887cbb355f583931cba70adc460b88fca7395f.tar.bz2
rails-90887cbb355f583931cba70adc460b88fca7395f.zip
s/a/an/
Diffstat (limited to 'railties/guides/source/generators.textile')
-rw-r--r--railties/guides/source/generators.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/generators.textile b/railties/guides/source/generators.textile
index a3181b9ac5..54b3785bf7 100644
--- a/railties/guides/source/generators.textile
+++ b/railties/guides/source/generators.textile
@@ -131,7 +131,7 @@ And let's execute our generator:
$ rails generate initializer core_extensions
</shell>
-We can see that now a initializer named core_extensions was created at +config/initializers/core_extensions.rb+ with the contents of our template. That means that +copy_file+ copied a file in our source root to the destination path we gave. The method +file_name+ is automatically created when we inherit from +Rails::Generators::NamedBase+.
+We can see that now an initializer named core_extensions was created at +config/initializers/core_extensions.rb+ with the contents of our template. That means that +copy_file+ copied a file in our source root to the destination path we gave. The method +file_name+ is automatically created when we inherit from +Rails::Generators::NamedBase+.
The methods that are available for generators are covered in the "final section":#generator-methods of this guide.