From ec1a4d78bad8adfa2dd155a550e0067bd2f7e0ba Mon Sep 17 00:00:00 2001 From: Matt Rogers Date: Sun, 7 Apr 2019 20:01:22 -0500 Subject: [PATCH] Temporarily add the sanitize helper This is so we can keep the tests passing by fixing a NoMethodError when attempting to run both the new query object and the existing code at the same time. --- app/models/todos/undone_todos_query.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/todos/undone_todos_query.rb b/app/models/todos/undone_todos_query.rb index 0c738d27..e39274a7 100644 --- a/app/models/todos/undone_todos_query.rb +++ b/app/models/todos/undone_todos_query.rb @@ -1,5 +1,7 @@ module Todos class UndoneTodosQuery + include ActionView::Helpers::SanitizeHelper + attr_reader :current_user def initialize(current_user) @current_user = current_user