Sha256: ab925a251e1e547ac97246fd7b3c3ca54226f28df9057fed6bc6304487919f49

Contents?: true

Size: 370 Bytes

Versions: 80

Compression:

Stored size: 370 Bytes

Contents

# frozen_string_literal: true

module Arel # :nodoc: all
  module Nodes
    class SqlLiteral < String
      include Arel::Expressions
      include Arel::Predications
      include Arel::AliasPredication
      include Arel::OrderPredications

      def encode_with(coder)
        coder.scalar = self.to_s
      end

      def fetch_attribute
      end
    end
  end
end

Version data entries

80 entries across 76 versions & 8 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.7/lib/arel/nodes/sql_literal.rb
activerecord-7.0.8.7 lib/arel/nodes/sql_literal.rb
activerecord-7.0.8.6 lib/arel/nodes/sql_literal.rb
activerecord-6.1.7.10 lib/arel/nodes/sql_literal.rb
activerecord-6.1.7.9 lib/arel/nodes/sql_literal.rb
activerecord-7.0.8.5 lib/arel/nodes/sql_literal.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.4/lib/arel/nodes/sql_literal.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.5.1/lib/arel/nodes/sql_literal.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.5.1/lib/arel/nodes/sql_literal.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.5.1/lib/arel/nodes/sql_literal.rb
activerecord-7.0.8.4 lib/arel/nodes/sql_literal.rb
activerecord-6.1.7.8 lib/arel/nodes/sql_literal.rb
activerecord-7.0.8.1 lib/arel/nodes/sql_literal.rb
activerecord-6.1.7.7 lib/arel/nodes/sql_literal.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activerecord-7.0.2.3/lib/arel/nodes/sql_literal.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/arel/nodes/sql_literal.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activerecord-7.0.3.1/lib/arel/nodes/sql_literal.rb
activerecord-7.0.8 lib/arel/nodes/sql_literal.rb
activerecord-7.0.7.2 lib/arel/nodes/sql_literal.rb
activerecord-6.1.7.6 lib/arel/nodes/sql_literal.rb