APIdock
/
Ruby on Rails
/
Browse
About
method
push
v3.0.0
-
Show latest stable
- Class:
ActiveRecord
::
Associations
::
AssociationCollection
push
(*records)
public
Alias for #<<
Related methods
Instance methods
<<
any?
build
clear
concat
count
create
create!
delete
delete_all
destroy
destroy_all
empty?
find
first
include?
last
length
many?
proxy_respond_to?
push
replace
reset
scoped
select
size
sum
to_a
to_ary
transaction
uniq
Class methods
new
Protected methods
add_record_to_target_with_callbacks
construct_counter_sql
construct_find_options!
construct_scope
find_target
load_target
method_missing
reset_named_scopes_cache!
reset_target!
Private methods
build_record
callback
callbacks_for
create_record
ensure_owner_is_not_new
fetch_first_or_last_using_find?
remove_records