class Relation
Ruby on Rails 6.0.6
Since v3.0.20Active Record Relation
Inherits from
Namespace
Modules
Includes
Constants
Attributes
Methods (defined here)
- # ==
- # any?
- # blank?
- # build
- # cache_key
- # cache_key_with_version
- # cache_version
- # create
- # create!
- # create_or_find_by
- # create_or_find_by!
- # delete_all
- # delete_by
- # destroy_all
- # destroy_by
- # eager_loading?
- # empty?
- # encode_with
- # explain
- # find_or_create_by
- # find_or_create_by!
- # find_or_initialize_by
- # initialize_copy
- # inspect
- # joined_includes_values
- # load
- # load_records
- # many?
- # new
- # none?
- # one?
- # pretty_print
- # reload
- # reset
- # scope_for_create
- # scoping
- # size
- # to_a
- # to_ary
- # to_sql
- # touch_all
- # update_all
- # values
- # where_values_hash
- self. new
Private methods (11)
Show private methods Implementation detail — not part of the public API.
Methods (inherited)
From Enumerable
(9)
From Object
(17)
- # acts_like?
- # blank?
- # deep_dup
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # with_options