app/controllers/google_controller.rb
def adjust_groups(response)
    Group.destroy_all
    delete_matches(response)
    create_groups(response)
    redirect_to root_path
  end
# Takes the google sheet response and generates all the groups from it
Takes the google sheet response and generates all the groups from it
Takes the google sheet response and generates all the groups from it
def adjust_groups(response)
    Group.destroy_all
    delete_matches(response)
    create_groups(response)
    redirect_to root_path
  end
def adjust_groups ( response ) Group . destroy_all delete_matches ( response ) create_groups ( response ) redirect_to root_path end
Takes the google sheet response and generates all the groups from it
Takes the google sheet response and generates all the groups from it
response