File tree Expand file tree Collapse file tree 6 files changed +11
-10
lines changed
actionmailbox/app/controllers/action_mailbox/ingresses/relay
actionpack/lib/action_dispatch
activerecord/lib/active_record Expand file tree Collapse file tree 6 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ module ActionMailbox
41
41
# If your application lives at <tt>https://example.com</tt>, you would configure the Postfix SMTP server to pipe
42
42
# inbound emails to the following command:
43
43
#
44
- # bin/rails action_mailbox:ingress:postfix URL=https://example.com/rails/action_mailbox/postfix/inbound_emails INGRESS_PASSWORD=...
44
+ # $ bin/rails action_mailbox:ingress:postfix URL=https://example.com/rails/action_mailbox/postfix/inbound_emails INGRESS_PASSWORD=...
45
45
#
46
46
# Built-in ingress commands are available for these popular SMTP servers:
47
47
#
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ module ActionDispatch
238
238
#
239
239
# == View a list of all your routes
240
240
#
241
- # bin/rails routes
241
+ # $ bin/rails routes
242
242
#
243
243
# Target a specific controller with <tt>-c</tt>, or grep routes
244
244
# using <tt>-g</tt>. Useful in conjunction with <tt>--expanded</tt>
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ module Middleware
24
24
# To use the DatabaseSelector in your application with default settings,
25
25
# run the provided generator.
26
26
#
27
- # bin/rails g active_record:multi_db
27
+ # $ bin/rails g active_record:multi_db
28
28
#
29
29
# This will create a file named +config/initializers/multi_db.rb+ with the
30
30
# following contents:
Original file line number Diff line number Diff line change @@ -371,7 +371,8 @@ def initialize
371
371
# The \Rails package has several tools to help create and apply migrations.
372
372
#
373
373
# To generate a new migration, you can use
374
- # bin/rails generate migration MyNewMigration
374
+ #
375
+ # $ bin/rails generate migration MyNewMigration
375
376
#
376
377
# where MyNewMigration is the name of your migration. The generator will
377
378
# create an empty migration file <tt>timestamp_my_new_migration.rb</tt>
@@ -380,7 +381,7 @@ def initialize
380
381
#
381
382
# There is a special syntactic shortcut to generate migrations that add fields to a table.
382
383
#
383
- # bin/rails generate migration add_fieldname_to_tablename fieldname:string
384
+ # $ bin/rails generate migration add_fieldname_to_tablename fieldname:string
384
385
#
385
386
# This will generate the file <tt>timestamp_add_fieldname_to_tablename.rb</tt>, which will look like this:
386
387
# class AddFieldnameToTablename < ActiveRecord::Migration[7.2]
Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ module Rails
328
328
# To use engine's migrations in application you can use the rake task below, which copies them to
329
329
# application's dir:
330
330
#
331
- # rake ENGINE_NAME:install:migrations
331
+ # $ rake ENGINE_NAME:install:migrations
332
332
#
333
333
# Note that some of the migrations may be skipped if a migration with the same name already exists
334
334
# in application. In such a situation you must decide whether to leave that migration or rename the
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ def self.hide!
79
79
#
80
80
# For example, if the user invoke the controller generator as:
81
81
#
82
- # bin/rails generate controller Account --test-framework=test_unit
82
+ # $ bin/rails generate controller Account --test-framework=test_unit
83
83
#
84
84
# The controller generator will then try to invoke the following generators:
85
85
#
@@ -134,11 +134,11 @@ def self.hide!
134
134
# All hooks come with switches for user interface. If you do not want
135
135
# to use any test framework, you can do:
136
136
#
137
- # bin/rails generate controller Account --skip-test-framework
137
+ # $ bin/rails generate controller Account --skip-test-framework
138
138
#
139
139
# Or similarly:
140
140
#
141
- # bin/rails generate controller Account --no-test-framework
141
+ # $ bin/rails generate controller Account --no-test-framework
142
142
#
143
143
# ==== Boolean hooks
144
144
#
@@ -150,7 +150,7 @@ def self.hide!
150
150
#
151
151
# Then, if you want webrat to be invoked, just supply:
152
152
#
153
- # bin/rails generate controller Account --webrat
153
+ # $ bin/rails generate controller Account --webrat
154
154
#
155
155
# The hooks lookup is similar as above:
156
156
#
You can’t perform that action at this time.
0 commit comments