APIdock
/
Ruby on Rails
/
Browse
About
method
push
v2.3.8
-
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
proxy_respond_to?
push
replace
reset
size
sum
to_ary
transaction
uniq
Class methods
new
Protected methods
add_record_to_target_with_callbacks
construct_find_options!
construct_scope
find_target
load_target
method_missing
reset_target!
Private methods
build_record
callback
callbacks_for
create_record
ensure_owner_is_not_new
fetch_first_or_last_using_find?
remove_records