diff --git a/lib/ruby_lsp/ruby_lsp_rails/completion.rb b/lib/ruby_lsp/ruby_lsp_rails/completion.rb index 9b3c4032..862f41e3 100644 --- a/lib/ruby_lsp/ruby_lsp_rails/completion.rb +++ b/lib/ruby_lsp/ruby_lsp_rails/completion.rb @@ -26,17 +26,6 @@ def initialize(client, response_builder, node_context, dispatcher, uri) ) end - sig { params(node: Prism::CallNode).void } - def on_call_node_enter(node) - call_node = @node_context.call_node - return unless call_node - - receiver = call_node.receiver - if call_node.name == :where && receiver.is_a?(Prism::ConstantReadNode) - handle_active_record_where_completions(node: node, receiver: receiver) - end - end - private sig { params(node: Prism::CallNode, receiver: Prism::ConstantReadNode).void }