public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
~/.rvm/gems/ruby-1.9.2-p290@core/gems/arel-2.2.1 ✖ ✈ ▸ ack -C2 private
lib/arel/predications.rb
149- end
150-
151: private
152-
153- def grouping_any method_id, others
 
lib/arel/select_manager.rb
280- end
281-
282: private
283- def collapse exprs, existing = nil
284- exprs = exprs.unshift(existing.expr) if existing
 
lib/arel/table.rb
124- end
125-
126: private
127-
128- def attributes_for columns
 
lib/arel/visitors/depth_first.rb
6- end
7-
8: private
9-
10- def visit o
 
lib/arel/visitors/dot.rb
28- end
29-
30: private
31- def visit_Arel_Nodes_Ordering o
32- visit_edge o, "expr"
 
lib/arel/visitors/ibm_db.rb
2- module Visitors
3- class IBM_DB < Arel::Visitors::ToSql
4: private
5-
6- def visit_Arel_Nodes_Limit o
 
lib/arel/visitors/informix.rb
2- module Visitors
3- class Informix < Arel::Visitors::ToSql
4: private
5- def visit_Arel_Nodes_SelectStatement o
6- [
 
lib/arel/visitors/join_sql.rb
10- # compatibility with Arel V1.0
11- module JoinSql
12: private
13-
14- def visit_Arel_Nodes_SelectCore o
 
lib/arel/visitors/mssql.rb
2- module Visitors
3- class MSSQL < Arel::Visitors::ToSql
4: private
5-
6- # `top` wouldn't really work here. I.e. User.select("distinct first_name").limit(10) would generate
 
lib/arel/visitors/mysql.rb
2- module Visitors
3- class MySQL < Arel::Visitors::ToSql
4: private
5- def visit_Arel_Nodes_Union o, suppress_parens = false
6- left_result = case o.left
 
lib/arel/visitors/oracle.rb
2- module Visitors
3- class Oracle < Arel::Visitors::ToSql
4: private
5-
6- def visit_Arel_Nodes_SelectStatement o
 
lib/arel/visitors/order_clauses.rb
2- module Visitors
3- class OrderClauses < Arel::Visitors::ToSql
4: private
5-
6- def visit_Arel_Nodes_SelectStatement o
 
lib/arel/visitors/postgresql.rb
2- module Visitors
3- class PostgreSQL < Arel::Visitors::ToSql
4: private
5- def visit_Arel_Nodes_Lock o
6- visit o.expr
 
lib/arel/visitors/sqlite.rb
2- module Visitors
3- class SQLite < Arel::Visitors::ToSql
4: private
5- def visit_Arel_Nodes_SelectStatement o
6- o.limit = Arel::Nodes::Limit.new(-1) if o.offset && !o.limit
 
lib/arel/visitors/to_sql.rb
20- end
21-
22: private
23- def last_column= col
24- Thread.current[:arel_visitors_to_sql_last_column] = col
 
lib/arel/visitors/visitor.rb
6- end
7-
8: private
9-
10- DISPATCH = Hash.new do |hash, klass|
~/.rvm/gems/ruby-1.9.2-p290@core/gems/arel-2.2.1 ✖ ✈ ▸

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.