1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #32566 from chrisarcand/fix-broken-nodocs

Fix broken nodocs
This commit is contained in:
Rafael França 2018-04-13 16:40:46 -04:00 committed by GitHub
commit 662ba236d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -73,7 +73,7 @@ module ActionDispatch
end
end
def reset_session # :nodoc
def reset_session # :nodoc:
super
self.flash = nil
end

View file

@ -241,7 +241,7 @@ module ActiveRecord
association
end
def association_cached?(name) # :nodoc
def association_cached?(name) # :nodoc:
@association_cache.key?(name)
end

View file

@ -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