aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/core.rb
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2019-01-02 08:32:17 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2019-01-02 08:32:17 +0900
commit2484443aa84c0e0e2e88a401cefc8062f54a0374 (patch)
treebdba04df16e9fd8f7dc042777966112b58e6d1cc /activerecord/lib/active_record/core.rb
parent0d40c62213cf0be58a470637bd364e92c5666402 (diff)
downloadrails-2484443aa84c0e0e2e88a401cefc8062f54a0374.tar.gz
rails-2484443aa84c0e0e2e88a401cefc8062f54a0374.tar.bz2
rails-2484443aa84c0e0e2e88a401cefc8062f54a0374.zip
Bring ActiveRecord::Core's API document back [ci skip]
If exist `:nodoc:` before method define, it affects all subsequent method definitions.
Diffstat (limited to 'activerecord/lib/active_record/core.rb')
-rw-r--r--activerecord/lib/active_record/core.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb
index 8f4d292a4b..fc564d59e2 100644
--- a/activerecord/lib/active_record/core.rb
+++ b/activerecord/lib/active_record/core.rb
@@ -350,9 +350,7 @@ module ActiveRecord
# Initialize an empty model object from +attributes+.
# +attributes+ should be an attributes object, and unlike the
# `initialize` method, no assignment calls are made per attribute.
- #
- # :nodoc:
- def init_with_attributes(attributes, new_record = false)
+ def init_with_attributes(attributes, new_record = false) # :nodoc:
init_internals
@new_record = new_record