diff options
author | Xavier Noria <fxn@hashref.com> | 2010-12-11 00:02:41 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-12-11 00:02:41 +0100 |
commit | b911d88390b252a2e14d4965b20fb3a7ac28c203 (patch) | |
tree | 5400f1090e9f67b0abf893e12c7baaade21dd647 /railties/guides | |
parent | b43842f6c005f0b07873eb8dc5443470bfc3fe58 (diff) | |
parent | 323a64ecb551bf87d13337ab47a3051d94fc4894 (diff) | |
download | rails-b911d88390b252a2e14d4965b20fb3a7ac28c203.tar.gz rails-b911d88390b252a2e14d4965b20fb3a7ac28c203.tar.bz2 rails-b911d88390b252a2e14d4965b20fb3a7ac28c203.zip |
Merge branch 'master' of https://github.com/lucascaton/docrails into lucascaton-master
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/generators.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/generators.textile b/railties/guides/source/generators.textile index a0d744333f..ee3891c43b 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 |