aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods
diff options
context:
space:
mode:
authorChris Arcand <chris@chrisarcand.com>2018-04-13 14:52:24 -0500
committerChris Arcand <chris@chrisarcand.com>2018-04-13 14:55:59 -0500
commit72486005dd906939ced0fd69659b2fae2ee0ee01 (patch)
tree044d362b83587671df793958e43f624e1d3cbc4c /activerecord/lib/active_record/attribute_methods
parent4f99a2186479d5f77460622f2c0f37708b3ec1bc (diff)
downloadrails-72486005dd906939ced0fd69659b2fae2ee0ee01.tar.gz
rails-72486005dd906939ced0fd69659b2fae2ee0ee01.tar.bz2
rails-72486005dd906939ced0fd69659b2fae2ee0ee01.zip
Fix broken nodocs
This commit fixes all references in the codebase missing a trailing :, which causes the nodoc not to actually work :) [skip ci]
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods')
-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