lib/generators/rails/templates/query.rb.tt in lite-query-1.0.5 vs lib/generators/rails/templates/query.rb.tt in lite-query-1.0.6
- old
+ new
@@ -1,6 +1,6 @@
# frozen_string_literal: true
<% module_namespacing do -%>
-class <%= class_name %>Query < ApplicationQuery
+class <%= class_name %>Query < <%= ApplicationQuery.to_s rescue 'Lite::Query::Base' %>
end
<% end -%>