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.8.3 vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/where_sql.rb
dirty_history-0.7.0 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
dirty_history-0.6.7 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
dirty_history-0.6.6 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
dirty_history-0.6.5 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
challah-0.8.1 vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/where_sql.rb
challah-rolls-0.1.0 vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/where_sql.rb
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/where_sql.rb
challah-0.8.0.pre vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/where_sql.rb
challah-0.7.1 vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/where_sql.rb
dirty_history-0.6.4 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
challah-0.7.0 vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/where_sql.rb
challah-0.7.0.pre2 vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/where_sql.rb
dirty_history-0.6.3 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
challah-0.7.0.pre vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/where_sql.rb
challah-0.6.2 vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/where_sql.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/arel-3.0.2/lib/arel/visitors/where_sql.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/arel-3.0.2/lib/arel/visitors/where_sql.rb
dirty_history-0.6.2 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb
dirty_history-0.6.1 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/visitors/where_sql.rb