Skip to content

Commit 7463afa

Browse files
committed
removed unused function param
1 parent d6a1cff commit 7463afa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/persistence.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def upsert(attributes, on_duplicate: :update, returning: nil, unique_by: nil)
261261
# ], unique_by: :isbn)
262262
#
263263
# Book.find_by(isbn: "1").title # => "Eloquent Ruby"
264-
def upsert_all(attributes, on_duplicate: :update, returning: nil, unique_by: nil, update_sql: nil)
264+
def upsert_all(attributes, on_duplicate: :update, returning: nil, unique_by: nil)
265265
InsertAll.new(self, attributes, on_duplicate: on_duplicate, returning: returning, unique_by: unique_by).execute
266266
end
267267

0 commit comments

Comments
 (0)