Skip to content

Commit d998c49

Browse files
authored
Merge pull request #2188 from yahonda/rails_42355
Address "NoMethodError: undefined method `partial_writes?'"
2 parents c342505 + ff87863 commit d998c49

File tree

1 file changed

+1
-1
lines changed
  • lib/active_record/connection_adapters/oracle_enhanced

1 file changed

+1
-1
lines changed

lib/active_record/connection_adapters/oracle_enhanced/procedures.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def _update_record(attribute_names = @attributes.keys)
150150
end
151151
end
152152
# update just dirty attributes
153-
if partial_writes?
153+
if partial_updates?
154154
# Serialized attributes should always be written in case they've been
155155
# changed in place.
156156
update_using_custom_method(changed | (attributes.keys & self.class.columns.select { |column| column.is_a?(Type::Serialized) }))

0 commit comments

Comments
 (0)