Skip to content

Commit

Permalink
ActiveRecord::Migration.verbose documentation [ci skip]
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
seanpdoyle authored and viralpraxis committed Mar 24, 2024
1 parent 52aeee0 commit 063a803
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions activerecord/lib/active_record/migration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -794,22 +794,9 @@ def disable_ddl_transaction # :nodoc:
##
# :singleton-method: verbose
#
# By default, migrations will describe the actions they are taking, writing
# them to the console as they happen, along with benchmarks describing how
# long each step took.
#
# You read that setting through <tt>ActiveRecord::Migration.verbose</tt>.

##
# :singleton-method: verbose=
#
# :call-seq: verbose=(value)
#
# By default, migrations will describe the actions they are taking, writing
# them to the console as they happen, along with benchmarks describing how
# long each step took.
#
# You can quiet them down by setting <tt>ActiveRecord::Migration.verbose = false</tt>.
# Specifies if migrations will write the actions they are taking to the console as they
# happen, along with benchmarks describing how long each step took. Defaults to
# true.
cattr_accessor :verbose
attr_accessor :name, :version

Expand Down

0 comments on commit 063a803

Please sign in to comment.