Type:
Class
Constants:
JoinOperation : Struct.new(:relation, :join_class, :on)
MULTI_VALUE_METHODS : [:includes, :eager_load, :preload, :select, :group, :order, :joins, :where, :having, :bind, :references, :extending, :unscope]
SINGLE_VALUE_METHODS : [:limit, :offset, :lock, :readonly, :from, :reordering, :reverse_order, :distinct, :create_with, :uniq]
VALUE_METHODS : MULTI_VALUE_METHODS + SINGLE_VALUE_METHODS

Active Record Relation

values

values() Instance Public methods

2015-06-20 00:00:00
scoping

scoping() Instance Public methods Scope all queries to the current scope.

2015-06-20 00:00:00
where_values_hash

where_values_hash(relation_table_name = table_name) Instance Public methods Returns

2015-06-20 00:00:00
any?

any?() Instance Public methods Returns true if there are any records.

2015-06-20 00:00:00
create!

create!(*args, &block) Instance Public methods Similar to

2015-06-20 00:00:00
delete_all

delete_all(conditions = nil) Instance Public methods Deletes the records matching

2015-06-20 00:00:00