method
bind
v3.2.1 - 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
- 3.0.9
- 3.1.0 (0)
- 3.2.1 (0)
- 3.2.8 (0)
- 3.2.13 (0)
- 4.0.2 (0)
- 4.1.8 (0)
- 4.2.1 (0)
- 4.2.7 (0)
- 4.2.9 (0)
- 5.0.0.1
- 5.1.7
- 5.2.3
- 6.0.0
- 6.1.3.1
- 6.1.7.7
- 7.0.0
- 7.1.3.2
- 7.1.3.4
- What's this?
Related methods
- Instance methods (148)
-
add_relations_to_bind_values
(>= v4.1.8) -
and (>= v6.1.3.1) -
and! (>= v6.1.3.1) -
annotate (>= v6.0.0) -
annotate! (>= v6.0.0) -
apply_modules
-
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! (>= v4.0.2) -
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
(>= v4.0.2) -
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
(>= v4.0.2) -
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!
(>= v4.0.2) -
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! (>= v4.0.2) -
create_with_value (>= v4.0.2) -
custom_join_ast
-
custom_join_sql (<= v3.0.9) -
default_value_for
(>= v5.1.7) -
distinct (>= v4.0.2) -
distinct! (>= v4.0.2) -
does_not_support_reverse?
(>= v5.0.0.1) -
each_join_dependencies
(>= v6.1.3.1) -
eager_load -
eager_load! (>= v4.0.2) -
excluding (>= v7.0.0) -
excluding! (>= v7.0.0) -
extending -
extending! (>= v4.0.2) -
extract_associated (>= v6.0.0) -
from -
from! (>= v4.0.2) -
get_value (>= v5.1.7) -
group -
group! (>= v4.0.2) -
having -
having! (>= v4.0.2) -
having_clause_factory
(>= v5.0.0.1) -
includes -
includes! (>= v4.0.2) -
in_order_of (>= v7.0.0) -
invert_where (>= v7.0.0) -
invert_where! (>= v7.0.0) -
joins -
joins! (>= v4.0.2) -
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! (>= v4.0.2) -
lock -
lock! (>= v4.0.2) -
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 (>= v4.0.2) -
none! (>= v4.0.2) -
null_relation? (>= v7.1.3.2) -
offset -
offset! (>= v4.0.2) -
optimizer_hints (>= v6.0.0) -
optimizer_hints! (>= v6.0.0) -
or (>= v5.0.0.1) -
or! (>= v5.0.0.1) -
order -
order! (>= v4.0.2) -
order_column
(>= v6.0.0) -
preload -
preload! (>= v4.0.2) -
preprocess_order_args
(>= v4.1.8) -
process_select_args
(>= v7.1.3.2) -
readonly -
readonly! (>= v4.0.2) -
references (>= v4.0.2) -
references! (>= v4.0.2) -
regroup (>= v7.1.3.2) -
regroup! (>= v7.1.3.2) -
reorder -
reorder! (>= v4.0.2) -
reselect (>= v6.0.0) -
reselect! (>= v6.0.0) -
resolve_arel_attributes
(>= v6.1.3.1) -
reverse_order -
reverse_order! (>= v4.0.2) -
reverse_sql_order
-
rewhere (>= v4.1.8) -
sanitize_order_arguments
(>= v6.1.3.1) -
select -
_select! (>= v4.1.8) -
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
(>= v4.0.2) -
table_name_matches?
(>= v5.2.3) -
transform_select_hash_values
(>= v7.1.3.2) -
uniq -
uniq! (>= v4.0.2) -
unscope (>= v4.0.2) -
unscope! (>= v4.0.2) -
valid_association_list
(>= v6.0.0) -
validate_order_args
(>= v4.0.2) -
where -
where! (>= v4.0.2) -
where_clause_factory
(>= v5.0.0.1) -
where_unscoping
(>= v4.0.2) -
with (>= v7.1.3.2) -
with! (>= v7.1.3.2) -
without (>= v7.0.0)
= private
= protected
bind(value) public No documentation
This method has no description. You can help the Ruby on Rails community by adding new notes.
Hide source
# File activerecord/lib/active_record/relation/query_methods.rb, line 126 def bind(value) relation = clone relation.bind_values += [value] relation end

