1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

AR save takes keyword arguments

This commit is contained in:
Akira Matsuda 2019-09-06 07:19:09 +09:00
parent 2f141ab09e
commit 09d7ce7975

View file

@ -40,11 +40,11 @@ module ActiveRecord
end
end
def save(*) # :nodoc:
def save(*, **) # :nodoc:
SuppressorRegistry.suppressed[self.class.name] ? true : super
end
def save!(*) # :nodoc:
def save!(*, **) # :nodoc:
SuppressorRegistry.suppressed[self.class.name] ? true : super
end
end