Sha256: 4c4cf6dba6d648c8be340ea95756af0a71ef632689827d29b7bb6018fa58fc0a

Contents?: true

Size: 209 Bytes

Versions: 7

Compression:

Stored size: 209 Bytes

Contents

module Arel
  module Visitors
    class WhereSql < Arel::Visitors::ToSql
      def visit_Arel_Nodes_SelectCore o, a
        "WHERE #{o.wheres.map { |x| visit x, a }.join ' AND ' }"
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
angular-rails4-templates-0.4.1 vendor/ruby/2.1.0/gems/arel-5.0.1.20140414130214/lib/arel/visitors/where_sql.rb
angular-rails4-templates-0.4.0 vendor/ruby/2.1.0/gems/arel-5.0.1.20140414130214/lib/arel/visitors/where_sql.rb
angular-rails4-templates-0.3.0 vendor/ruby/2.1.0/gems/arel-5.0.1.20140414130214/lib/arel/visitors/where_sql.rb
arel-5.0.1.20140414130214 lib/arel/visitors/where_sql.rb
arel-4.0.2 lib/arel/visitors/where_sql.rb
arel-5.0.0 lib/arel/visitors/where_sql.rb
arel-4.0.1 lib/arel/visitors/where_sql.rb