mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Revert "Update USAGE docs for generators."
This reverts commit d31e03f356.
This commit is contained in:
@@ -13,6 +13,6 @@ Example:
|
||||
|
||||
Credit card controller with URLs like /credit_card/debit.
|
||||
Controller: app/controllers/credit_card_controller.rb
|
||||
Functional Test: test/controllers/credit_card_controller_test.rb
|
||||
Functional Test: test/functional/credit_card_controller_test.rb
|
||||
Views: app/views/credit_card/debit.html.erb [...]
|
||||
Helper: app/helpers/credit_card_helper.rb
|
||||
|
||||
@@ -13,5 +13,5 @@ Example:
|
||||
|
||||
Credit card helper.
|
||||
Helper: app/helpers/credit_card_helper.rb
|
||||
Test: test/helpers/credit_card_helper_test.rb
|
||||
Test: test/unit/helpers/credit_card_helper_test.rb
|
||||
|
||||
|
||||
@@ -11,5 +11,5 @@ Example:
|
||||
creates a Notifications mailer class, views, test, and fixtures:
|
||||
Mailer: app/mailers/notifications.rb
|
||||
Views: app/views/notifications/signup.erb [...]
|
||||
Test: test/controllers/notifications_test.rb
|
||||
Test: test/functional/notifications_test.rb
|
||||
Fixtures: test/fixtures/notifications/signup [...]
|
||||
|
||||
@@ -21,7 +21,7 @@ Examples:
|
||||
For ActiveRecord and TestUnit it creates:
|
||||
|
||||
Model: app/models/account.rb
|
||||
Test: test/models/account_test.rb
|
||||
Test: test/unit/account_test.rb
|
||||
Fixtures: test/fixtures/accounts.yml
|
||||
Migration: db/migrate/XXX_add_accounts.rb
|
||||
|
||||
|
||||
@@ -9,4 +9,4 @@ Example:
|
||||
|
||||
For ActiveRecord and TestUnit it creates:
|
||||
Observer: app/models/account_observer.rb
|
||||
TestUnit: test/observers/account_observer_test.rb
|
||||
TestUnit: test/unit/account_observer_test.rb
|
||||
|
||||
@@ -15,6 +15,6 @@ Example:
|
||||
|
||||
Credit card controller with URLs like /credit_card/debit.
|
||||
Controller: app/controllers/credit_cards_controller.rb
|
||||
Functional Test: test/controllers/credit_cards_controller_test.rb
|
||||
Functional Test: test/functional/credit_cards_controller_test.rb
|
||||
Views: app/views/credit_cards/index.html.erb [...]
|
||||
Helper: app/helpers/credit_cards_helper.rb
|
||||
|
||||
Reference in New Issue
Block a user