Skip to content

Commit c2ca759

Browse files
committed
ActiveRecord::Migration.verbose documentation [ci skip]
Follow-up to [rails#51258][] Re-write `ActiveRecord::Migration.verbose` documentation to incorporate [review feedback][] from [rails#51258][]. [rails#51258]: rails#51258 [review feedback]: rails#51258 (comment)
1 parent bf96dcf commit c2ca759

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

activerecord/lib/active_record/migration.rb

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -794,22 +794,9 @@ def disable_ddl_transaction # :nodoc:
794794
##
795795
# :singleton-method: verbose
796796
#
797-
# By default, migrations will describe the actions they are taking, writing
798-
# them to the console as they happen, along with benchmarks describing how
799-
# long each step took.
800-
#
801-
# You read that setting through <tt>ActiveRecord::Migration.verbose</tt>.
802-
803-
##
804-
# :singleton-method: verbose=
805-
#
806-
# :call-seq: verbose=(value)
807-
#
808-
# By default, migrations will describe the actions they are taking, writing
809-
# them to the console as they happen, along with benchmarks describing how
810-
# long each step took.
811-
#
812-
# You can quiet them down by setting <tt>ActiveRecord::Migration.verbose = false</tt>.
797+
# Specifies if migrations will write the actions they are taking to the console as they
798+
# happen, along with benchmarks describing how long each step took. Defaults to
799+
# true.
813800
cattr_accessor :verbose
814801
attr_accessor :name, :version
815802

0 commit comments

Comments
 (0)