提交 904e3f44 编写于 作者: K Kasper Timm Hansen

[ci skip] Space out framework names in USAGE

Two USAGE files were referring to Active Record and Active Model
without a space, which is incorrect because we're referring to
the framework name and not the constants.
上级 e129c069
......@@ -8,14 +8,14 @@ Description:
As a special case, specifying 'password:digest' will generate a
password_digest field of string type, and configure your generated model and
tests for use with ActiveModel has_secure_password (assuming the default ORM
tests for use with Active Model has_secure_password (assuming the default ORM
and test framework are being used).
You don't have to think up every attribute up front, but it helps to
sketch out a few so you can start working with the model immediately.
This generator invokes your configured ORM and test framework, which
defaults to ActiveRecord and TestUnit.
defaults to Active Record and TestUnit.
Finally, if --parent option is given, it's used as superclass of the
created model. This allows you create Single Table Inheritance models.
......@@ -91,7 +91,7 @@ Available field types:
Examples:
`rails generate model account`
For ActiveRecord and TestUnit it creates:
For Active Record and TestUnit it creates:
Model: app/models/account.rb
Test: test/models/account_test.rb
......@@ -104,7 +104,7 @@ Examples:
`rails generate model admin/account`
For ActiveRecord and TestUnit it creates:
For Active Record and TestUnit it creates:
Module: app/models/admin.rb
Model: app/models/admin/account.rb
......
......@@ -16,7 +16,7 @@ Description:
As a special case, specifying 'password:digest' will generate a
password_digest field of string type, and configure your generated model,
controller, views, and test suite for use with ActiveModel
controller, views, and test suite for use with Active Model
has_secure_password (assuming they are using Rails defaults).
Timestamps are added by default, so you don't have to specify them by hand
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册