Say I have a function like this:
def do_query(id, name) users = User.where(id: id, name: name) users.each do |user| # ... end end