Skip to content

Commit 17b3e05

Browse files
committed
Fix header level for ActiveModel::Naming and DelegatedType
A class should have a h1 instead of a h2.
1 parent 5beb062 commit 17b3e05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

activemodel/lib/active_model/naming.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def i18n_scope
230230
end
231231
end
232232

233-
# == Active \Model \Naming
233+
# = Active \Model \Naming
234234
#
235235
# Creates a +model_name+ method on your object.
236236
#

activerecord/lib/active_record/delegated_type.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require "active_support/core_ext/string/inquiry"
44

55
module ActiveRecord
6-
# == Delegated types
6+
# = Delegated types
77
#
88
# Class hierarchies can map to relational database tables in many ways. Active Record, for example, offers
99
# purely abstract classes, where the superclass doesn't persist any attributes, and single-table inheritance,

0 commit comments

Comments
 (0)