@@ -100,7 +100,7 @@ def directly_set_attributes(hash, mass_assign = false)
100
100
multi_parameter_attributes << [ key , value ]
101
101
false
102
102
elsif self . respond_to? ( "#{ key } =" )
103
- self . send ( "#{ key } =" , value )
103
+ self . send ( "#{ key } =" , value )
104
104
elsif mass_assign || mass_assign_any_attribute
105
105
self [ key ] = value
106
106
end
@@ -131,7 +131,7 @@ def assign_multiparameter_attributes(pairs, hash)
131
131
def execute_callstack_for_multiparameter_attributes ( callstack , hash )
132
132
callstack . each do |name , values_with_empty_parameters |
133
133
if self . respond_to? ( "#{ name } =" )
134
- casted_attrib = send ( "#{ name } =" , values_with_empty_parameters )
134
+ casted_attrib = send ( "#{ name } =" , values_with_empty_parameters )
135
135
unless casted_attrib . is_a? ( Hash )
136
136
hash . reject { |key , value | key . include? ( name . to_s ) }
137
137
end
@@ -177,7 +177,7 @@ def property(name, *options, &block)
177
177
178
178
# Automatically set <tt>updated_at</tt> and <tt>created_at</tt> fields
179
179
# on the document whenever saving occurs.
180
- #
180
+ #
181
181
# These properties are casted as Time objects, so they should always
182
182
# be set to UTC.
183
183
def timestamps!
0 commit comments