Skip to content

Instantly share code, notes, and snippets.

@konaga-k
Last active October 21, 2020 01:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save konaga-k/69d93d3e9509084e798809c0a439a6b4 to your computer and use it in GitHub Desktop.
Save konaga-k/69d93d3e9509084e798809c0a439a6b4 to your computer and use it in GitHub Desktop.
ActiveRecord::Relationで定義されるインスタンスメソッドの一覧(Rails 6.0.3.4)
==
_deprecated_scope_block
_deprecated_scope_source
_deprecated_scope_source=
_deprecated_spawn
_exec_scope
_increment_attribute
_scoping
_substitute_values
alias_tracker
already_in_scope?
any?
arel_attribute
bind_attribute
blank?
build
build_preloader
cache_key
cache_key_with_version
cache_version
compute_cache_key
compute_cache_version
create
create!
create_or_find_by
create_or_find_by!
delete_all
delete_by
destroy_all
destroy_by
eager_loading?
empty?
empty_scope?
encode_with
exec_queries
explain
find_or_create_by
find_or_create_by!
find_or_initialize_by
first_or_create
first_or_create!
first_or_initialize
has_limit_or_offset?
initialize
initialize_copy
inspect
joined_includes_values
klass
load
load_records
loaded
loaded?
locked?
many?
model
new
none?
null_relation?
one?
predicate_builder
preload_associations
pretty_print
records
references_eager_loaded_tables?
reload
reset
scope_for_create
scoping
size
skip_preloading_value
skip_preloading_value=
skip_query_cache_if_necessary
table
tables_in_string
to_a
to_ary
to_sql
touch_all
update
update_all
update_counters
values
where_values_hash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment