method
arel

v4.1.8 - Show latest stable - 0 notes - Class: ActiveRecord::QueryMethods
- 1.0.0
- 1.1.6
- 1.2.6
- 2.0.3
- 2.1.0
- 2.2.1
- 2.3.8
- 3.0.0 (0)
- 3.0.9 (0)
- 3.1.0 (0)
- 3.2.1 (0)
- 3.2.8 (0)
- 3.2.13 (0)
- 4.0.2 (38)
- 4.1.8 (0)
- 4.2.1 (0)
- 4.2.7 (0)
- 4.2.9 (0)
- 5.0.0.1 (0)
- 5.1.7 (0)
- 5.2.3 (0)
- 6.0.0 (0)
- 6.1.3.1 (0)
- 6.1.7.7 (0)
- 7.0.0 (0)
- 7.1.3.2 (0)
- 7.1.3.4 (0)
- What's this?
Related methods
- Instance methods (148)
-
add_relations_to_bind_values
-
and (>= v6.1.3.1)
-
and! (>= v6.1.3.1)
-
annotate (>= v6.0.0)
-
annotate! (>= v6.0.0)
-
apply_modules
(<= v3.2.13)
-
arel
-
arel_column
(>= v5.2.3)
-
arel_columns
(>= v4.2.1)
-
array_of_strings?
-
assert_mutability!
(>= v5.0.0.1)
-
association_for_table
(>= v4.2.1)
-
async
(>= v7.1.3.2)
-
async!
(>= v7.1.3.2)
-
bind
-
bind!
-
bound_attributes (>= v5.0.0.1)
-
build_arel
-
build_case_for_value_position
(>= v7.1.3.2)
-
build_cast_value
(>= v6.1.3.1)
-
build_from
-
build_having_clause
(>= v6.1.3.1)
-
build_join_buckets
(>= v6.1.3.1)
-
build_join_dependencies
(>= v6.1.3.1)
-
build_join_query
(>= v5.0.0.1)
-
build_joins
-
build_left_outer_joins
(>= v5.0.0.1)
-
build_order
-
build_select
-
build_subquery
(>= v6.0.0)
-
build_where
-
build_where_clause
(>= v6.1.3.1)
-
build_with
(>= v7.1.3.2)
-
build_with_join_node
(>= v7.1.3.2)
-
build_with_value_from_hash
(>= v7.1.3.2)
-
check_cached_relation (>= v4.2.1)
-
check_if_method_has_arguments!
-
collapse_wheres
-
column_references
(>= v6.1.3.1)
-
construct_join_dependency (>= v6.0.0)
-
convert_join_strings_to_ast
(>= v5.0.0.1)
-
create_binds
(>= v4.2.1)
-
create_with
-
create_with!
-
create_with_value
-
custom_join_ast
-
custom_join_sql (<= v3.0.9)
-
default_value_for
(>= v5.1.7)
-
distinct
-
distinct!
-
does_not_support_reverse?
(>= v5.0.0.1)
-
each_join_dependencies
(>= v6.1.3.1)
-
eager_load
-
eager_load!
-
excluding (>= v7.0.0)
-
excluding! (>= v7.0.0)
-
extending
-
extending!
-
extract_associated (>= v6.0.0)
-
from
-
from!
-
get_value (>= v5.1.7)
-
group
-
group!
-
having
-
having!
-
having_clause_factory
(>= v5.0.0.1)
-
includes
-
includes!
-
in_order_of (>= v7.0.0)
-
invert_where (>= v7.0.0)
-
invert_where! (>= v7.0.0)
-
joins
-
joins!
-
left_joins (>= v5.0.0.1)
-
left_joins! (>= v5.0.0.1)
-
left_outer_joins (>= v5.0.0.1)
-
left_outer_joins! (>= v5.0.0.1)
-
limit
-
limit!
-
lock
-
lock!
-
lookup_table_klass_from_joi...
(>= v6.1.3.1)
-
new_from_clause
(>= v5.0.0.1)
-
new_having_clause
(>= v5.0.0.1)
-
new_where_clause
(>= v5.0.0.1)
-
none
-
none!
-
null_relation? (>= v7.1.3.2)
-
offset
-
offset!
-
optimizer_hints (>= v6.0.0)
-
optimizer_hints! (>= v6.0.0)
-
or (>= v5.0.0.1)
-
or! (>= v5.0.0.1)
-
order
-
order!
-
order_column
(>= v6.0.0)
-
preload
-
preload!
-
preprocess_order_args
-
process_select_args
(>= v7.1.3.2)
-
readonly
-
readonly!
-
references
-
references!
-
regroup (>= v7.1.3.2)
-
regroup! (>= v7.1.3.2)
-
reorder
-
reorder!
-
reselect (>= v6.0.0)
-
reselect! (>= v6.0.0)
-
resolve_arel_attributes
(>= v6.1.3.1)
-
reverse_order
-
reverse_order!
-
reverse_sql_order
-
rewhere
-
sanitize_order_arguments
(>= v6.1.3.1)
-
select
-
_select!
-
select! (<= v4.0.2)
-
select_association_list
(>= v6.1.3.1)
-
select_named_joins
(>= v7.1.3.2)
-
set_value (>= v5.1.7)
-
skip_preloading! (>= v6.0.0)
-
skip_query_cache! (>= v5.2.3)
-
strict_loading (>= v6.1.3.1)
-
strict_loading! (>= v6.1.3.1)
-
string_containing_comma?
(>= v5.0.0.1)
-
structurally_compatible? (>= v7.0.0)
-
structurally_incompatible_v...
(>= v6.1.3.1)
-
structurally_incompatible_v...
(>= v5.0.0.1)
-
symbol_unscoping
-
table_name_matches?
(>= v5.2.3)
-
transform_select_hash_values
(>= v7.1.3.2)
-
uniq
-
uniq!
-
unscope
-
unscope!
-
valid_association_list
(>= v6.0.0)
-
validate_order_args
-
where
-
where!
-
where_clause_factory
(>= v5.0.0.1)
-
where_unscoping
-
with (>= v7.1.3.2)
-
with! (>= v7.1.3.2)
-
without (>= v7.0.0)
= private
= protected
arel()
public Returns the Arel object associated with the relation.
Show source
# File activerecord/lib/active_record/relation/query_methods.rb, line 841 def arel # :nodoc: @arel ||= build_arel end