File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
activerecord/lib/active_record Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,9 +58,9 @@ module ClassMethods
58
58
# semantically equal to be considered different.
59
59
# For instance two hashes with the same keys and values but a different order have a
60
60
# different serialized representation, but are semantically equal once deserialized.
61
- # If set to +true+ the comparison will be done on the deserialized object. This options
62
- # should only be enabled if the +type+ is known to have a proper +==+ method that deeply
63
- # compare the objects.
61
+ # If set to +true+ the comparison will be done on the deserialized object.
62
+ # This options should only be enabled if the +type+ is known to have
63
+ # a proper <tt>==</tt> method that deeply compare the objects.
64
64
# * +yaml+ - Optional. Yaml specific options. The allowed config is:
65
65
# * +:permitted_classes+ - +Array+ with the permitted classes.
66
66
# * +:unsafe_load+ - Unsafely load YAML blobs, allow YAML to load any class.
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def self.references(attributes)
37
37
38
38
# Define how a class is converted to Arel nodes when passed to +where+.
39
39
# The handler can be any object that responds to +call+, and will be used
40
- # for any value that + ===+ the class given. For example:
40
+ # for any value that <tt> ===</tt> the class given. For example:
41
41
#
42
42
# MyCustomDateRange = Struct.new(:start, :end)
43
43
# handler = proc do |column, range|
You can’t perform that action at this time.
0 commit comments