lib/arel/extensions/current_user.rb in arel_toolkit-0.3.0 vs lib/arel/extensions/current_user.rb in arel_toolkit-0.4.0
- old
+ new
@@ -11,9 +11,13 @@
class ToSql
def visit_Arel_Nodes_CurrentUser(_o, collector)
collector << 'current_user'
end
end
+
+ class Dot
+ alias visit_Arel_Nodes_CurrentUser terminal
+ end
end
end
# rubocop:enable Naming/MethodName
# rubocop:enable Naming/UncommunicativeMethodParamName