Skip to content

Commit da7f51a

Browse files
authored
Merge pull request rails#51296 from seanpdoyle/follow-up-51258
`ActiveRecord::Migration.verbose` documentation [ci skip]
2 parents bf96dcf + c2ca759 commit da7f51a

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)