aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods/read.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2018-04-13 16:40:46 -0400
committerGitHub <noreply@github.com>2018-04-13 16:40:46 -0400
commit662ba236d115d3e2152b04dcdefdc0ee6f1f6102 (patch)
tree5a829a85ea3edcc47a3772b8cdcd6f1f5c35485a /activerecord/lib/active_record/attribute_methods/read.rb
parent0baf8b9417c99461ee5b7be92e30d191d9575232 (diff)
parent72486005dd906939ced0fd69659b2fae2ee0ee01 (diff)
downloadrails-662ba236d115d3e2152b04dcdefdc0ee6f1f6102.tar.gz
rails-662ba236d115d3e2152b04dcdefdc0ee6f1f6102.tar.bz2
rails-662ba236d115d3e2152b04dcdefdc0ee6f1f6102.zip
Merge pull request #32566 from chrisarcand/fix-broken-nodocs
Fix broken nodocs
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods/read.rb')
-rw-r--r--activerecord/lib/active_record/attribute_methods/read.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/attribute_methods/read.rb b/activerecord/lib/active_record/attribute_methods/read.rb
index 14f700b6a9..0f7bcba564 100644
--- a/activerecord/lib/active_record/attribute_methods/read.rb
+++ b/activerecord/lib/active_record/attribute_methods/read.rb
@@ -69,7 +69,7 @@ module ActiveRecord
if defined?(JRUBY_VERSION)
# This form is significantly faster on JRuby, and this is one of our biggest hotspots.
# https://github.com/jruby/jruby/pull/2562
- def _read_attribute(attr_name, &block) # :nodoc
+ def _read_attribute(attr_name, &block) # :nodoc:
@attributes.fetch_value(attr_name.to_s, &block)
end
else