提交 b911d883 编写于 作者: X Xavier Noria

Merge branch 'master' of https://github.com/lucascaton/docrails into lucascaton-master

......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册