Skip to content

Commit

Permalink
removed unused function param
Browse files Browse the repository at this point in the history
  • Loading branch information
alkesh26 committed Jun 22, 2021
1 parent d6a1cff commit 7463afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/persistence.rb
Expand Up @@ -261,7 +261,7 @@ def upsert(attributes, on_duplicate: :update, returning: nil, unique_by: nil)
# ], unique_by: :isbn)
#
# Book.find_by(isbn: "1").title # => "Eloquent Ruby"
def upsert_all(attributes, on_duplicate: :update, returning: nil, unique_by: nil, update_sql: nil)
def upsert_all(attributes, on_duplicate: :update, returning: nil, unique_by: nil)
InsertAll.new(self, attributes, on_duplicate: on_duplicate, returning: returning, unique_by: unique_by).execute
end

Expand Down

0 comments on commit 7463afa

Please sign in to comment.