diff --git a/railties/guides/source/generators.textile b/railties/guides/source/generators.textile index a0d744333fb80100cb200713dbf68a2c993de9b4..ee3891c43b1dcb74a84bb75ecdb348cd2eae9834 100644 --- a/railties/guides/source/generators.textile +++ b/railties/guides/source/generators.textile @@ -134,7 +134,7 @@ $ rails generate initializer core_extensions 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+. -The methods that are available for generators are covered in the "final section":#generator_methods of this guide. +The methods that are available for generators are covered in the "final section":#generator-methods of this guide. h3. Generators Lookup