mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
12 lines
345 B
Text
12 lines
345 B
Text
Description:
|
|
============
|
|
Stubs out a new mailbox class in app/mailboxes and invokes your template
|
|
engine and test framework generators.
|
|
|
|
Example:
|
|
========
|
|
rails generate mailbox inbox
|
|
|
|
creates a InboxMailbox class and test:
|
|
Mailbox: app/mailboxes/inbox_mailbox.rb
|
|
Test: test/mailboxes/inbox_mailbox_test.rb
|