1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Generator guide grammatical error fixed [ci skip]

This commit is contained in:
Siddharth Bhagwan 2014-07-21 17:39:20 +05:30
parent b84918057b
commit 7021e66588

View file

@ -35,7 +35,7 @@ $ bin/rails generate helper --help
Creating Your First Generator
-----------------------------
Since Rails 3.0, generators are built on top of [Thor](https://github.com/erikhuda/thor). Thor provides powerful options parsing and a great API for manipulating files. For instance, let's build a generator that creates an initializer file named `initializer.rb` inside `config/initializers`.
Since Rails 3.0, generators are built on top of [Thor](https://github.com/erikhuda/thor). Thor provides powerful options for parsing and a great API for manipulating files. For instance, let's build a generator that creates an initializer file named `initializer.rb` inside `config/initializers`.
The first step is to create a file at `lib/generators/initializer_generator.rb` with the following content: