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

Fix incomplete :nodoc: directives [ci-skip]

This commit is contained in:
Jonathan Hefner 2021-07-28 10:30:06 -05:00
parent 8a22369071
commit 11c2c0ef2f
4 changed files with 4 additions and 4 deletions

View file

@ -229,7 +229,7 @@ module ActionView
TemplateError = Template::Error
class SyntaxErrorInTemplate < TemplateError #:nodoc
class SyntaxErrorInTemplate < TemplateError #:nodoc:
def initialize(template, offending_code_string)
@offending_code_string = offending_code_string
super(template)

View file

@ -34,7 +34,7 @@ module ActiveRecord
# This method exists to avoid the expensive primary_key check internally, without
# breaking compatibility with the read_attribute API
def _read_attribute(attr_name, &block) # :nodoc
def _read_attribute(attr_name, &block) # :nodoc:
@attributes.fetch_value(attr_name, &block)
end

View file

@ -72,7 +72,7 @@ module ActiveRecord
end
alias :exec_update :exec_delete
def begin_isolated_db_transaction(isolation) #:nodoc
def begin_isolated_db_transaction(isolation) #:nodoc:
raise TransactionIsolationError, "SQLite3 only supports the `read_uncommitted` transaction isolation level" if isolation != :read_uncommitted
raise StandardError, "You need to enable the shared-cache mode in SQLite mode before attempting to change the transaction isolation level" unless shared_cache?

View file

@ -210,7 +210,7 @@ module ActiveRecord
@connection_class = b
end
def self.connection_class # :nodoc
def self.connection_class # :nodoc:
@connection_class ||= false
end