Sha256: 803fd3aeba0398ecd742d5437ec053b94f8f060e738a0625ae578e13aa2f7ae2

Contents?: true

Size: 388 Bytes

Versions: 55

Compression:

Stored size: 388 Bytes

Contents

module ActiveRecord
  module ConnectionAdapters
    module DetermineIfPreparableVisitor
      attr_reader :preparable

      def accept(*)
        @preparable = true
        super
      end

      def visit_Arel_Nodes_In(*)
        @preparable = false
        super
      end

      def visit_Arel_Nodes_SqlLiteral(*)
        @preparable = false
        super
      end
    end
  end
end

Version data entries

55 entries across 55 versions & 4 rubygems

Version Path
activerecord-5.1.3.rc1 lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
activerecord-5.1.2 lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
activerecord-5.1.2.rc1 lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
activerecord-5.0.4 lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
activerecord-5.0.4.rc1 lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
activerecord-5.1.1 lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
activerecord-5.0.3 lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/activerecord-5.0.2/lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
activerecord-5.1.0 lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
activerecord-5.1.0.rc2 lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
activerecord-5.1.0.rc1 lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
activerecord-5.0.2 lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
activerecord-5.0.2.rc1 lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
activerecord-5.1.0.beta1 lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
autocompl-0.2.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
autocompl-0.2.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
autocompl-0.2.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
autocompl-0.1.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
autocompl-0.1.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
autocompl-0.1.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/connection_adapters/determine_if_preparable_visitor.rb