Sha256: 0f2dfb94dcd3d5a38d487924d257970fbd2deac73bd29620efccf85f15502a06

Contents?: true

Size: 203 Bytes

Versions: 137

Compression:

Stored size: 203 Bytes

Contents

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

Version data entries

137 entries across 119 versions & 15 rubygems

Version Path
challah-0.3.0 vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/where_sql.rb
challah-0.2.1 vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/where_sql.rb
challah-0.2.0 vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/where_sql.rb
arel-3.0.0 lib/arel/visitors/where_sql.rb
dirty_history-0.4.10 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
dirty_history-0.4.9 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
arel-3.0.0.rc1 lib/arel/visitors/where_sql.rb
dirty_history-0.4.8 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
dirty_history-0.4.7 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
dirty_history-0.4.6 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
dirty_history-0.4.5 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
dirty_history-0.4.4 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
dirty_history-0.4.3 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
dirty_history-0.4.2 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
dirty_history-0.3.0 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
arel-2.2.1 lib/arel/visitors/where_sql.rb
arel-2.2.0 lib/arel/visitors/where_sql.rb
arel-2.1.4 lib/arel/visitors/where_sql.rb
arel-2.1.3 lib/arel/visitors/where_sql.rb
arel-2.1.2 lib/arel/visitors/where_sql.rb