aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/arel
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2018-02-24 18:11:47 +1030
committerMatthew Draper <matthew@trebex.net>2018-02-24 18:11:47 +1030
commit354f1c28e81d9846fb9e5346fcca50cf303c12c1 (patch)
tree1f6352394aa260ae666b518f42cc4961983cbc05 /activerecord/lib/arel
parent4c0a3d48804a363c7e9272519665a21f601b5248 (diff)
downloadrails-354f1c28e81d9846fb9e5346fcca50cf303c12c1.tar.gz
rails-354f1c28e81d9846fb9e5346fcca50cf303c12c1.tar.bz2
rails-354f1c28e81d9846fb9e5346fcca50cf303c12c1.zip
Arel: :nodoc: all
Diffstat (limited to 'activerecord/lib/arel')
-rw-r--r--activerecord/lib/arel/alias_predication.rb2
-rw-r--r--activerecord/lib/arel/attributes.rb2
-rw-r--r--activerecord/lib/arel/attributes/attribute.rb2
-rw-r--r--activerecord/lib/arel/collectors/bind.rb2
-rw-r--r--activerecord/lib/arel/collectors/composite.rb2
-rw-r--r--activerecord/lib/arel/collectors/plain_string.rb2
-rw-r--r--activerecord/lib/arel/collectors/sql_string.rb2
-rw-r--r--activerecord/lib/arel/collectors/substitute_binds.rb2
-rw-r--r--activerecord/lib/arel/compatibility/wheres.rb2
-rw-r--r--activerecord/lib/arel/crud.rb2
-rw-r--r--activerecord/lib/arel/delete_manager.rb2
-rw-r--r--activerecord/lib/arel/errors.rb2
-rw-r--r--activerecord/lib/arel/expressions.rb2
-rw-r--r--activerecord/lib/arel/factory_methods.rb2
-rw-r--r--activerecord/lib/arel/insert_manager.rb2
-rw-r--r--activerecord/lib/arel/math.rb2
-rw-r--r--activerecord/lib/arel/nodes/and.rb2
-rw-r--r--activerecord/lib/arel/nodes/ascending.rb2
-rw-r--r--activerecord/lib/arel/nodes/binary.rb2
-rw-r--r--activerecord/lib/arel/nodes/bind_param.rb2
-rw-r--r--activerecord/lib/arel/nodes/case.rb2
-rw-r--r--activerecord/lib/arel/nodes/casted.rb2
-rw-r--r--activerecord/lib/arel/nodes/count.rb2
-rw-r--r--activerecord/lib/arel/nodes/delete_statement.rb2
-rw-r--r--activerecord/lib/arel/nodes/descending.rb2
-rw-r--r--activerecord/lib/arel/nodes/equality.rb2
-rw-r--r--activerecord/lib/arel/nodes/extract.rb2
-rw-r--r--activerecord/lib/arel/nodes/false.rb2
-rw-r--r--activerecord/lib/arel/nodes/full_outer_join.rb2
-rw-r--r--activerecord/lib/arel/nodes/function.rb2
-rw-r--r--activerecord/lib/arel/nodes/grouping.rb2
-rw-r--r--activerecord/lib/arel/nodes/in.rb2
-rw-r--r--activerecord/lib/arel/nodes/infix_operation.rb2
-rw-r--r--activerecord/lib/arel/nodes/inner_join.rb2
-rw-r--r--activerecord/lib/arel/nodes/insert_statement.rb2
-rw-r--r--activerecord/lib/arel/nodes/join_source.rb2
-rw-r--r--activerecord/lib/arel/nodes/matches.rb2
-rw-r--r--activerecord/lib/arel/nodes/named_function.rb2
-rw-r--r--activerecord/lib/arel/nodes/node.rb2
-rw-r--r--activerecord/lib/arel/nodes/node_expression.rb2
-rw-r--r--activerecord/lib/arel/nodes/outer_join.rb2
-rw-r--r--activerecord/lib/arel/nodes/over.rb2
-rw-r--r--activerecord/lib/arel/nodes/regexp.rb2
-rw-r--r--activerecord/lib/arel/nodes/right_outer_join.rb2
-rw-r--r--activerecord/lib/arel/nodes/select_core.rb2
-rw-r--r--activerecord/lib/arel/nodes/select_statement.rb2
-rw-r--r--activerecord/lib/arel/nodes/sql_literal.rb2
-rw-r--r--activerecord/lib/arel/nodes/string_join.rb2
-rw-r--r--activerecord/lib/arel/nodes/table_alias.rb2
-rw-r--r--activerecord/lib/arel/nodes/terminal.rb2
-rw-r--r--activerecord/lib/arel/nodes/true.rb2
-rw-r--r--activerecord/lib/arel/nodes/unary.rb2
-rw-r--r--activerecord/lib/arel/nodes/unary_operation.rb2
-rw-r--r--activerecord/lib/arel/nodes/unqualified_column.rb2
-rw-r--r--activerecord/lib/arel/nodes/update_statement.rb2
-rw-r--r--activerecord/lib/arel/nodes/values.rb2
-rw-r--r--activerecord/lib/arel/nodes/values_list.rb2
-rw-r--r--activerecord/lib/arel/nodes/window.rb2
-rw-r--r--activerecord/lib/arel/nodes/with.rb2
-rw-r--r--activerecord/lib/arel/order_predications.rb2
-rw-r--r--activerecord/lib/arel/predications.rb2
-rw-r--r--activerecord/lib/arel/select_manager.rb2
-rw-r--r--activerecord/lib/arel/table.rb2
-rw-r--r--activerecord/lib/arel/tree_manager.rb2
-rw-r--r--activerecord/lib/arel/update_manager.rb2
-rw-r--r--activerecord/lib/arel/visitors.rb2
-rw-r--r--activerecord/lib/arel/visitors/depth_first.rb2
-rw-r--r--activerecord/lib/arel/visitors/dot.rb2
-rw-r--r--activerecord/lib/arel/visitors/ibm_db.rb2
-rw-r--r--activerecord/lib/arel/visitors/informix.rb2
-rw-r--r--activerecord/lib/arel/visitors/mssql.rb2
-rw-r--r--activerecord/lib/arel/visitors/mysql.rb2
-rw-r--r--activerecord/lib/arel/visitors/oracle.rb2
-rw-r--r--activerecord/lib/arel/visitors/oracle12.rb2
-rw-r--r--activerecord/lib/arel/visitors/postgresql.rb2
-rw-r--r--activerecord/lib/arel/visitors/sqlite.rb2
-rw-r--r--activerecord/lib/arel/visitors/to_sql.rb2
-rw-r--r--activerecord/lib/arel/visitors/visitor.rb2
-rw-r--r--activerecord/lib/arel/visitors/where_sql.rb2
-rw-r--r--activerecord/lib/arel/window_predications.rb2
80 files changed, 80 insertions, 80 deletions
diff --git a/activerecord/lib/arel/alias_predication.rb b/activerecord/lib/arel/alias_predication.rb
index ae44157b9a..4abbbb7ef6 100644
--- a/activerecord/lib/arel/alias_predication.rb
+++ b/activerecord/lib/arel/alias_predication.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module AliasPredication
def as(other)
Nodes::As.new self, Nodes::SqlLiteral.new(other)
diff --git a/activerecord/lib/arel/attributes.rb b/activerecord/lib/arel/attributes.rb
index c81a7b941b..35d586c948 100644
--- a/activerecord/lib/arel/attributes.rb
+++ b/activerecord/lib/arel/attributes.rb
@@ -2,7 +2,7 @@
require "arel/attributes/attribute"
-module Arel
+module Arel # :nodoc: all
module Attributes
###
# Factory method to wrap a raw database +column+ to an Arel Attribute.
diff --git a/activerecord/lib/arel/attributes/attribute.rb b/activerecord/lib/arel/attributes/attribute.rb
index 71f839479a..ecf499a23e 100644
--- a/activerecord/lib/arel/attributes/attribute.rb
+++ b/activerecord/lib/arel/attributes/attribute.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Attributes
class Attribute < Struct.new :relation, :name
include Arel::Expressions
diff --git a/activerecord/lib/arel/collectors/bind.rb b/activerecord/lib/arel/collectors/bind.rb
index 8d19e7446d..6f8912575d 100644
--- a/activerecord/lib/arel/collectors/bind.rb
+++ b/activerecord/lib/arel/collectors/bind.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Collectors
class Bind
def initialize
diff --git a/activerecord/lib/arel/collectors/composite.rb b/activerecord/lib/arel/collectors/composite.rb
index 675a819596..d040d8598d 100644
--- a/activerecord/lib/arel/collectors/composite.rb
+++ b/activerecord/lib/arel/collectors/composite.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Collectors
class Composite
def initialize(left, right)
diff --git a/activerecord/lib/arel/collectors/plain_string.rb b/activerecord/lib/arel/collectors/plain_string.rb
index b98802c44a..687d7fbf2f 100644
--- a/activerecord/lib/arel/collectors/plain_string.rb
+++ b/activerecord/lib/arel/collectors/plain_string.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Collectors
class PlainString
def initialize
diff --git a/activerecord/lib/arel/collectors/sql_string.rb b/activerecord/lib/arel/collectors/sql_string.rb
index 78c9e48aab..c293a89a74 100644
--- a/activerecord/lib/arel/collectors/sql_string.rb
+++ b/activerecord/lib/arel/collectors/sql_string.rb
@@ -2,7 +2,7 @@
require "arel/collectors/plain_string"
-module Arel
+module Arel # :nodoc: all
module Collectors
class SQLString < PlainString
def initialize(*)
diff --git a/activerecord/lib/arel/collectors/substitute_binds.rb b/activerecord/lib/arel/collectors/substitute_binds.rb
index ee6635f914..3f40eec8a8 100644
--- a/activerecord/lib/arel/collectors/substitute_binds.rb
+++ b/activerecord/lib/arel/collectors/substitute_binds.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Collectors
class SubstituteBinds
def initialize(quoter, delegate_collector)
diff --git a/activerecord/lib/arel/compatibility/wheres.rb b/activerecord/lib/arel/compatibility/wheres.rb
index 2ffb2e0ad8..c8a73f0dae 100644
--- a/activerecord/lib/arel/compatibility/wheres.rb
+++ b/activerecord/lib/arel/compatibility/wheres.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Compatibility # :nodoc:
class Wheres # :nodoc:
include Enumerable
diff --git a/activerecord/lib/arel/crud.rb b/activerecord/lib/arel/crud.rb
index e2427b730c..e8a563ca4a 100644
--- a/activerecord/lib/arel/crud.rb
+++ b/activerecord/lib/arel/crud.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
###
# FIXME hopefully we can remove this
module Crud
diff --git a/activerecord/lib/arel/delete_manager.rb b/activerecord/lib/arel/delete_manager.rb
index df1f92bd23..2def581009 100644
--- a/activerecord/lib/arel/delete_manager.rb
+++ b/activerecord/lib/arel/delete_manager.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
class DeleteManager < Arel::TreeManager
def initialize
super
diff --git a/activerecord/lib/arel/errors.rb b/activerecord/lib/arel/errors.rb
index 8733b7ff5a..2f8d5e3c02 100644
--- a/activerecord/lib/arel/errors.rb
+++ b/activerecord/lib/arel/errors.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
class ArelError < StandardError
end
diff --git a/activerecord/lib/arel/expressions.rb b/activerecord/lib/arel/expressions.rb
index 597b861b6c..da8afb338c 100644
--- a/activerecord/lib/arel/expressions.rb
+++ b/activerecord/lib/arel/expressions.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Expressions
def count(distinct = false)
Nodes::Count.new [self], distinct
diff --git a/activerecord/lib/arel/factory_methods.rb b/activerecord/lib/arel/factory_methods.rb
index 55aea3ecd7..b828bc274e 100644
--- a/activerecord/lib/arel/factory_methods.rb
+++ b/activerecord/lib/arel/factory_methods.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
###
# Methods for creating various nodes
module FactoryMethods
diff --git a/activerecord/lib/arel/insert_manager.rb b/activerecord/lib/arel/insert_manager.rb
index 47b52d6515..c90fc33a48 100644
--- a/activerecord/lib/arel/insert_manager.rb
+++ b/activerecord/lib/arel/insert_manager.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
class InsertManager < Arel::TreeManager
def initialize
super
diff --git a/activerecord/lib/arel/math.rb b/activerecord/lib/arel/math.rb
index 671457efff..2359f13148 100644
--- a/activerecord/lib/arel/math.rb
+++ b/activerecord/lib/arel/math.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Math
def *(other)
Arel::Nodes::Multiplication.new(self, other)
diff --git a/activerecord/lib/arel/nodes/and.rb b/activerecord/lib/arel/nodes/and.rb
index e76d4f3933..c530a77bfb 100644
--- a/activerecord/lib/arel/nodes/and.rb
+++ b/activerecord/lib/arel/nodes/and.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class And < Arel::Nodes::Node
attr_reader :children
diff --git a/activerecord/lib/arel/nodes/ascending.rb b/activerecord/lib/arel/nodes/ascending.rb
index 7ee531734f..8b617f4df5 100644
--- a/activerecord/lib/arel/nodes/ascending.rb
+++ b/activerecord/lib/arel/nodes/ascending.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Ascending < Ordering
def reverse
diff --git a/activerecord/lib/arel/nodes/binary.rb b/activerecord/lib/arel/nodes/binary.rb
index e6a5cb63df..e184e99c73 100644
--- a/activerecord/lib/arel/nodes/binary.rb
+++ b/activerecord/lib/arel/nodes/binary.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Binary < Arel::Nodes::NodeExpression
attr_accessor :left, :right
diff --git a/activerecord/lib/arel/nodes/bind_param.rb b/activerecord/lib/arel/nodes/bind_param.rb
index 1cc1886c2a..53c5563d93 100644
--- a/activerecord/lib/arel/nodes/bind_param.rb
+++ b/activerecord/lib/arel/nodes/bind_param.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class BindParam < Node
attr_accessor :value
diff --git a/activerecord/lib/arel/nodes/case.rb b/activerecord/lib/arel/nodes/case.rb
index 22c2da98dd..654a54825e 100644
--- a/activerecord/lib/arel/nodes/case.rb
+++ b/activerecord/lib/arel/nodes/case.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Case < Arel::Nodes::Node
attr_accessor :case, :conditions, :default
diff --git a/activerecord/lib/arel/nodes/casted.rb b/activerecord/lib/arel/nodes/casted.rb
index c701e7ff41..c1e6e97d6d 100644
--- a/activerecord/lib/arel/nodes/casted.rb
+++ b/activerecord/lib/arel/nodes/casted.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Casted < Arel::Nodes::NodeExpression # :nodoc:
attr_reader :val, :attribute
diff --git a/activerecord/lib/arel/nodes/count.rb b/activerecord/lib/arel/nodes/count.rb
index 3f138738ef..c8e409ea8b 100644
--- a/activerecord/lib/arel/nodes/count.rb
+++ b/activerecord/lib/arel/nodes/count.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Count < Arel::Nodes::Function
include Math
diff --git a/activerecord/lib/arel/nodes/delete_statement.rb b/activerecord/lib/arel/nodes/delete_statement.rb
index 1aad4199cd..eaac05e2f6 100644
--- a/activerecord/lib/arel/nodes/delete_statement.rb
+++ b/activerecord/lib/arel/nodes/delete_statement.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class DeleteStatement < Arel::Nodes::Node
attr_accessor :left, :right
diff --git a/activerecord/lib/arel/nodes/descending.rb b/activerecord/lib/arel/nodes/descending.rb
index afcb6b1b71..f3f6992ca8 100644
--- a/activerecord/lib/arel/nodes/descending.rb
+++ b/activerecord/lib/arel/nodes/descending.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Descending < Ordering
def reverse
diff --git a/activerecord/lib/arel/nodes/equality.rb b/activerecord/lib/arel/nodes/equality.rb
index 4ed545ae17..2aa85a977e 100644
--- a/activerecord/lib/arel/nodes/equality.rb
+++ b/activerecord/lib/arel/nodes/equality.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Equality < Arel::Nodes::Binary
def operator; :== end
diff --git a/activerecord/lib/arel/nodes/extract.rb b/activerecord/lib/arel/nodes/extract.rb
index 56069cd05a..5799ee9b8f 100644
--- a/activerecord/lib/arel/nodes/extract.rb
+++ b/activerecord/lib/arel/nodes/extract.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Extract < Arel::Nodes::Unary
attr_accessor :field
diff --git a/activerecord/lib/arel/nodes/false.rb b/activerecord/lib/arel/nodes/false.rb
index 1759a323e3..1e5bf04be5 100644
--- a/activerecord/lib/arel/nodes/false.rb
+++ b/activerecord/lib/arel/nodes/false.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class False < Arel::Nodes::NodeExpression
def hash
diff --git a/activerecord/lib/arel/nodes/full_outer_join.rb b/activerecord/lib/arel/nodes/full_outer_join.rb
index 3551855201..91bb81f2e3 100644
--- a/activerecord/lib/arel/nodes/full_outer_join.rb
+++ b/activerecord/lib/arel/nodes/full_outer_join.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class FullOuterJoin < Arel::Nodes::Join
end
diff --git a/activerecord/lib/arel/nodes/function.rb b/activerecord/lib/arel/nodes/function.rb
index f3415da12b..0a439b39f5 100644
--- a/activerecord/lib/arel/nodes/function.rb
+++ b/activerecord/lib/arel/nodes/function.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Function < Arel::Nodes::NodeExpression
include Arel::WindowPredications
diff --git a/activerecord/lib/arel/nodes/grouping.rb b/activerecord/lib/arel/nodes/grouping.rb
index b371b01612..4d0bd69d4d 100644
--- a/activerecord/lib/arel/nodes/grouping.rb
+++ b/activerecord/lib/arel/nodes/grouping.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Grouping < Unary
end
diff --git a/activerecord/lib/arel/nodes/in.rb b/activerecord/lib/arel/nodes/in.rb
index 5d24d34528..2be45d6f99 100644
--- a/activerecord/lib/arel/nodes/in.rb
+++ b/activerecord/lib/arel/nodes/in.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class In < Equality
end
diff --git a/activerecord/lib/arel/nodes/infix_operation.rb b/activerecord/lib/arel/nodes/infix_operation.rb
index 501da11730..bc7e20dcc6 100644
--- a/activerecord/lib/arel/nodes/infix_operation.rb
+++ b/activerecord/lib/arel/nodes/infix_operation.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class InfixOperation < Binary
include Arel::Expressions
diff --git a/activerecord/lib/arel/nodes/inner_join.rb b/activerecord/lib/arel/nodes/inner_join.rb
index 8af99c2dae..519fafad09 100644
--- a/activerecord/lib/arel/nodes/inner_join.rb
+++ b/activerecord/lib/arel/nodes/inner_join.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class InnerJoin < Arel::Nodes::Join
end
diff --git a/activerecord/lib/arel/nodes/insert_statement.rb b/activerecord/lib/arel/nodes/insert_statement.rb
index 206d05e74f..d28fd1f6c8 100644
--- a/activerecord/lib/arel/nodes/insert_statement.rb
+++ b/activerecord/lib/arel/nodes/insert_statement.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class InsertStatement < Arel::Nodes::Node
attr_accessor :relation, :columns, :values, :select
diff --git a/activerecord/lib/arel/nodes/join_source.rb b/activerecord/lib/arel/nodes/join_source.rb
index 9d009e8081..abf0944623 100644
--- a/activerecord/lib/arel/nodes/join_source.rb
+++ b/activerecord/lib/arel/nodes/join_source.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
###
# Class that represents a join source
diff --git a/activerecord/lib/arel/nodes/matches.rb b/activerecord/lib/arel/nodes/matches.rb
index 607efe86dc..fd5734f4bd 100644
--- a/activerecord/lib/arel/nodes/matches.rb
+++ b/activerecord/lib/arel/nodes/matches.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Matches < Binary
attr_reader :escape
diff --git a/activerecord/lib/arel/nodes/named_function.rb b/activerecord/lib/arel/nodes/named_function.rb
index 1d0baf2885..126462d6d6 100644
--- a/activerecord/lib/arel/nodes/named_function.rb
+++ b/activerecord/lib/arel/nodes/named_function.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class NamedFunction < Arel::Nodes::Function
attr_accessor :name
diff --git a/activerecord/lib/arel/nodes/node.rb b/activerecord/lib/arel/nodes/node.rb
index e2ce0a676d..2b9b1e9828 100644
--- a/activerecord/lib/arel/nodes/node.rb
+++ b/activerecord/lib/arel/nodes/node.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
###
# Abstract base class for all AST nodes
diff --git a/activerecord/lib/arel/nodes/node_expression.rb b/activerecord/lib/arel/nodes/node_expression.rb
index e69e3262d5..cbcfaba37c 100644
--- a/activerecord/lib/arel/nodes/node_expression.rb
+++ b/activerecord/lib/arel/nodes/node_expression.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class NodeExpression < Arel::Nodes::Node
include Arel::Expressions
diff --git a/activerecord/lib/arel/nodes/outer_join.rb b/activerecord/lib/arel/nodes/outer_join.rb
index 2440be1f03..0a3042be61 100644
--- a/activerecord/lib/arel/nodes/outer_join.rb
+++ b/activerecord/lib/arel/nodes/outer_join.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class OuterJoin < Arel::Nodes::Join
end
diff --git a/activerecord/lib/arel/nodes/over.rb b/activerecord/lib/arel/nodes/over.rb
index 57baebe9b3..91176764a9 100644
--- a/activerecord/lib/arel/nodes/over.rb
+++ b/activerecord/lib/arel/nodes/over.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Over < Binary
include Arel::AliasPredication
diff --git a/activerecord/lib/arel/nodes/regexp.rb b/activerecord/lib/arel/nodes/regexp.rb
index a2da51c135..7c25095569 100644
--- a/activerecord/lib/arel/nodes/regexp.rb
+++ b/activerecord/lib/arel/nodes/regexp.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Regexp < Binary
attr_accessor :case_sensitive
diff --git a/activerecord/lib/arel/nodes/right_outer_join.rb b/activerecord/lib/arel/nodes/right_outer_join.rb
index 910eb0fa1f..04ed4aaa78 100644
--- a/activerecord/lib/arel/nodes/right_outer_join.rb
+++ b/activerecord/lib/arel/nodes/right_outer_join.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class RightOuterJoin < Arel::Nodes::Join
end
diff --git a/activerecord/lib/arel/nodes/select_core.rb b/activerecord/lib/arel/nodes/select_core.rb
index 1686761bd5..2defe61974 100644
--- a/activerecord/lib/arel/nodes/select_core.rb
+++ b/activerecord/lib/arel/nodes/select_core.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class SelectCore < Arel::Nodes::Node
attr_accessor :top, :projections, :wheres, :groups, :windows
diff --git a/activerecord/lib/arel/nodes/select_statement.rb b/activerecord/lib/arel/nodes/select_statement.rb
index d1c42dba3b..eff5dad939 100644
--- a/activerecord/lib/arel/nodes/select_statement.rb
+++ b/activerecord/lib/arel/nodes/select_statement.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class SelectStatement < Arel::Nodes::NodeExpression
attr_reader :cores
diff --git a/activerecord/lib/arel/nodes/sql_literal.rb b/activerecord/lib/arel/nodes/sql_literal.rb
index 1ee496f285..d25a8521b7 100644
--- a/activerecord/lib/arel/nodes/sql_literal.rb
+++ b/activerecord/lib/arel/nodes/sql_literal.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class SqlLiteral < String
include Arel::Expressions
diff --git a/activerecord/lib/arel/nodes/string_join.rb b/activerecord/lib/arel/nodes/string_join.rb
index ba3f5f9535..86027fcab7 100644
--- a/activerecord/lib/arel/nodes/string_join.rb
+++ b/activerecord/lib/arel/nodes/string_join.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class StringJoin < Arel::Nodes::Join
def initialize(left, right = nil)
diff --git a/activerecord/lib/arel/nodes/table_alias.rb b/activerecord/lib/arel/nodes/table_alias.rb
index 37ad786d44..f95ca16a3d 100644
--- a/activerecord/lib/arel/nodes/table_alias.rb
+++ b/activerecord/lib/arel/nodes/table_alias.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class TableAlias < Arel::Nodes::Binary
alias :name :right
diff --git a/activerecord/lib/arel/nodes/terminal.rb b/activerecord/lib/arel/nodes/terminal.rb
index 7cfd2eba4b..d84c453f1a 100644
--- a/activerecord/lib/arel/nodes/terminal.rb
+++ b/activerecord/lib/arel/nodes/terminal.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Distinct < Arel::Nodes::NodeExpression
def hash
diff --git a/activerecord/lib/arel/nodes/true.rb b/activerecord/lib/arel/nodes/true.rb
index 8de1f7522f..c891012969 100644
--- a/activerecord/lib/arel/nodes/true.rb
+++ b/activerecord/lib/arel/nodes/true.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class True < Arel::Nodes::NodeExpression
def hash
diff --git a/activerecord/lib/arel/nodes/unary.rb b/activerecord/lib/arel/nodes/unary.rb
index 27dd2c1ddf..a3c0045897 100644
--- a/activerecord/lib/arel/nodes/unary.rb
+++ b/activerecord/lib/arel/nodes/unary.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Unary < Arel::Nodes::NodeExpression
attr_accessor :expr
diff --git a/activerecord/lib/arel/nodes/unary_operation.rb b/activerecord/lib/arel/nodes/unary_operation.rb
index a64346d278..524282ac84 100644
--- a/activerecord/lib/arel/nodes/unary_operation.rb
+++ b/activerecord/lib/arel/nodes/unary_operation.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class UnaryOperation < Unary
attr_reader :operator
diff --git a/activerecord/lib/arel/nodes/unqualified_column.rb b/activerecord/lib/arel/nodes/unqualified_column.rb
index 216a35bc30..7c3e0720d7 100644
--- a/activerecord/lib/arel/nodes/unqualified_column.rb
+++ b/activerecord/lib/arel/nodes/unqualified_column.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class UnqualifiedColumn < Arel::Nodes::Unary
alias :attribute :expr
diff --git a/activerecord/lib/arel/nodes/update_statement.rb b/activerecord/lib/arel/nodes/update_statement.rb
index 5cce1e3615..5184b1180f 100644
--- a/activerecord/lib/arel/nodes/update_statement.rb
+++ b/activerecord/lib/arel/nodes/update_statement.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class UpdateStatement < Arel::Nodes::Node
attr_accessor :relation, :wheres, :values, :orders, :limit
diff --git a/activerecord/lib/arel/nodes/values.rb b/activerecord/lib/arel/nodes/values.rb
index 8554440be6..650248dc04 100644
--- a/activerecord/lib/arel/nodes/values.rb
+++ b/activerecord/lib/arel/nodes/values.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Values < Arel::Nodes::Binary
alias :expressions :left
diff --git a/activerecord/lib/arel/nodes/values_list.rb b/activerecord/lib/arel/nodes/values_list.rb
index e68518d684..27109848e4 100644
--- a/activerecord/lib/arel/nodes/values_list.rb
+++ b/activerecord/lib/arel/nodes/values_list.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class ValuesList < Node
attr_reader :rows
diff --git a/activerecord/lib/arel/nodes/window.rb b/activerecord/lib/arel/nodes/window.rb
index 1f14630c81..4916fc7fbe 100644
--- a/activerecord/lib/arel/nodes/window.rb
+++ b/activerecord/lib/arel/nodes/window.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class Window < Arel::Nodes::Node
attr_accessor :orders, :framing, :partitions
diff --git a/activerecord/lib/arel/nodes/with.rb b/activerecord/lib/arel/nodes/with.rb
index a0fbf87e8e..157bdcaa08 100644
--- a/activerecord/lib/arel/nodes/with.rb
+++ b/activerecord/lib/arel/nodes/with.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Nodes
class With < Arel::Nodes::Unary
alias children expr
diff --git a/activerecord/lib/arel/order_predications.rb b/activerecord/lib/arel/order_predications.rb
index a0f15cb4d6..d785bbba92 100644
--- a/activerecord/lib/arel/order_predications.rb
+++ b/activerecord/lib/arel/order_predications.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module OrderPredications
def asc
Nodes::Ascending.new self
diff --git a/activerecord/lib/arel/predications.rb b/activerecord/lib/arel/predications.rb
index 1e701586a4..e83a6f162f 100644
--- a/activerecord/lib/arel/predications.rb
+++ b/activerecord/lib/arel/predications.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Predications
def not_eq(other)
Nodes::NotEqual.new self, quoted_node(other)
diff --git a/activerecord/lib/arel/select_manager.rb b/activerecord/lib/arel/select_manager.rb
index dc61447d01..22a04b00c6 100644
--- a/activerecord/lib/arel/select_manager.rb
+++ b/activerecord/lib/arel/select_manager.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
class SelectManager < Arel::TreeManager
include Arel::Crud
diff --git a/activerecord/lib/arel/table.rb b/activerecord/lib/arel/table.rb
index 2df2c4c514..686fcdf962 100644
--- a/activerecord/lib/arel/table.rb
+++ b/activerecord/lib/arel/table.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
class Table
include Arel::Crud
include Arel::FactoryMethods
diff --git a/activerecord/lib/arel/tree_manager.rb b/activerecord/lib/arel/tree_manager.rb
index f6ec1415fa..ed47b09a37 100644
--- a/activerecord/lib/arel/tree_manager.rb
+++ b/activerecord/lib/arel/tree_manager.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
class TreeManager
include Arel::FactoryMethods
diff --git a/activerecord/lib/arel/update_manager.rb b/activerecord/lib/arel/update_manager.rb
index 6e36e82cf9..fe444343ba 100644
--- a/activerecord/lib/arel/update_manager.rb
+++ b/activerecord/lib/arel/update_manager.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
class UpdateManager < Arel::TreeManager
def initialize
super
diff --git a/activerecord/lib/arel/visitors.rb b/activerecord/lib/arel/visitors.rb
index fb44721117..e350f52e65 100644
--- a/activerecord/lib/arel/visitors.rb
+++ b/activerecord/lib/arel/visitors.rb
@@ -14,7 +14,7 @@ require "arel/visitors/dot"
require "arel/visitors/ibm_db"
require "arel/visitors/informix"
-module Arel
+module Arel # :nodoc: all
module Visitors
end
end
diff --git a/activerecord/lib/arel/visitors/depth_first.rb b/activerecord/lib/arel/visitors/depth_first.rb
index fb32ef59ad..bcf8f8f980 100644
--- a/activerecord/lib/arel/visitors/depth_first.rb
+++ b/activerecord/lib/arel/visitors/depth_first.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Visitors
class DepthFirst < Arel::Visitors::Visitor
def initialize(block = nil)
diff --git a/activerecord/lib/arel/visitors/dot.rb b/activerecord/lib/arel/visitors/dot.rb
index 2b285ac775..d352b81914 100644
--- a/activerecord/lib/arel/visitors/dot.rb
+++ b/activerecord/lib/arel/visitors/dot.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Visitors
class Dot < Arel::Visitors::Visitor
class Node # :nodoc:
diff --git a/activerecord/lib/arel/visitors/ibm_db.rb b/activerecord/lib/arel/visitors/ibm_db.rb
index 0291e434c9..0a06aef60b 100644
--- a/activerecord/lib/arel/visitors/ibm_db.rb
+++ b/activerecord/lib/arel/visitors/ibm_db.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Visitors
class IBM_DB < Arel::Visitors::ToSql
private
diff --git a/activerecord/lib/arel/visitors/informix.rb b/activerecord/lib/arel/visitors/informix.rb
index 9df5a60bc2..0a9713794e 100644
--- a/activerecord/lib/arel/visitors/informix.rb
+++ b/activerecord/lib/arel/visitors/informix.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Visitors
class Informix < Arel::Visitors::ToSql
private
diff --git a/activerecord/lib/arel/visitors/mssql.rb b/activerecord/lib/arel/visitors/mssql.rb
index 4f2945e3a4..9aedc51d15 100644
--- a/activerecord/lib/arel/visitors/mssql.rb
+++ b/activerecord/lib/arel/visitors/mssql.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Visitors
class MSSQL < Arel::Visitors::ToSql
RowNumber = Struct.new :children
diff --git a/activerecord/lib/arel/visitors/mysql.rb b/activerecord/lib/arel/visitors/mysql.rb
index 7b32988be6..37bfb661f0 100644
--- a/activerecord/lib/arel/visitors/mysql.rb
+++ b/activerecord/lib/arel/visitors/mysql.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Visitors
class MySQL < Arel::Visitors::ToSql
private
diff --git a/activerecord/lib/arel/visitors/oracle.rb b/activerecord/lib/arel/visitors/oracle.rb
index 7811c18a8c..30a1529d46 100644
--- a/activerecord/lib/arel/visitors/oracle.rb
+++ b/activerecord/lib/arel/visitors/oracle.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Visitors
class Oracle < Arel::Visitors::ToSql
private
diff --git a/activerecord/lib/arel/visitors/oracle12.rb b/activerecord/lib/arel/visitors/oracle12.rb
index e312ba96bb..7061f06087 100644
--- a/activerecord/lib/arel/visitors/oracle12.rb
+++ b/activerecord/lib/arel/visitors/oracle12.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Visitors
class Oracle12 < Arel::Visitors::ToSql
private
diff --git a/activerecord/lib/arel/visitors/postgresql.rb b/activerecord/lib/arel/visitors/postgresql.rb
index e7ed888ed8..108ee431ee 100644
--- a/activerecord/lib/arel/visitors/postgresql.rb
+++ b/activerecord/lib/arel/visitors/postgresql.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Visitors
class PostgreSQL < Arel::Visitors::ToSql
CUBE = "CUBE"
diff --git a/activerecord/lib/arel/visitors/sqlite.rb b/activerecord/lib/arel/visitors/sqlite.rb
index 8d4152c428..cb1d2424ad 100644
--- a/activerecord/lib/arel/visitors/sqlite.rb
+++ b/activerecord/lib/arel/visitors/sqlite.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Visitors
class SQLite < Arel::Visitors::ToSql
private
diff --git a/activerecord/lib/arel/visitors/to_sql.rb b/activerecord/lib/arel/visitors/to_sql.rb
index 24db04200a..5986fd5576 100644
--- a/activerecord/lib/arel/visitors/to_sql.rb
+++ b/activerecord/lib/arel/visitors/to_sql.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Visitors
class UnsupportedVisitError < StandardError
def initialize(object)
diff --git a/activerecord/lib/arel/visitors/visitor.rb b/activerecord/lib/arel/visitors/visitor.rb
index 6cbe5caf8c..1c17184e86 100644
--- a/activerecord/lib/arel/visitors/visitor.rb
+++ b/activerecord/lib/arel/visitors/visitor.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Visitors
class Visitor
def initialize
diff --git a/activerecord/lib/arel/visitors/where_sql.rb b/activerecord/lib/arel/visitors/where_sql.rb
index d9c87f0130..c6caf5e7c9 100644
--- a/activerecord/lib/arel/visitors/where_sql.rb
+++ b/activerecord/lib/arel/visitors/where_sql.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module Visitors
class WhereSql < Arel::Visitors::ToSql
def initialize(inner_visitor, *args, &block)
diff --git a/activerecord/lib/arel/window_predications.rb b/activerecord/lib/arel/window_predications.rb
index 60d8f05b3c..3a8ee41f8a 100644
--- a/activerecord/lib/arel/window_predications.rb
+++ b/activerecord/lib/arel/window_predications.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Arel
+module Arel # :nodoc: all
module WindowPredications
def over(expr = nil)
Nodes::Over.new(self, expr)