Skip to content
Browse files

unused method arguments

  • Loading branch information...
1 parent 212a74d commit c8882c1a4057179c272ba17c3c63efb47ca05f31 @amatsuda amatsuda committed
Showing with 6 additions and 7 deletions.
  1. +6 −7 activerecord/lib/active_record/null_relation.rb
View
13 activerecord/lib/active_record/null_relation.rb
@@ -7,19 +7,19 @@ def exec_queries
@records = []
end
- def pluck(column_name)
+ def pluck(_column_name)
[]
end
- def delete_all(conditions = nil)
+ def delete_all(_conditions = nil)
0
end
- def update_all(updates, conditions = nil, options = {})
+ def update_all(_updates, _conditions = nil, _options = {})
0
end
- def delete(id_or_array)
+ def delete(_id_or_array)
0
end
@@ -51,13 +51,12 @@ def count
0
end
- def calculate(operation, column_name, options = {})
+ def calculate(_operation, _column_name, _options = {})
nil
end
- def exists?(id = false)
+ def exists?(_id = false)
false
end
-
end
end

0 comments on commit c8882c1

Please sign in to comment.
Something went wrong with that request. Please try again.