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:
parent
2f141ab09e
commit
09d7ce7975
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue