Если вы не возражаете против параметров, отображаемых в URL, вы можете:
redirect_to cars_path(:checked => params[:checked])
Если вы действительно возражаете, вы можете передать переменную сеанса:
def destroy
session[:tmp_checked] = params[:checked]
redirect_to cars_path
end
def index
checked = session[:tmp_checked]
session[:tmp_checked] = nil # THIS IS IMPORTANT. Without this, you still get the last checked value when the user come to the index action directly.
end