mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix rubocop violations
This commit is contained in:
parent
afb41fbefa
commit
fb9e846be9
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ module ActionView
|
||||||
node
|
node
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
unless name.include?('#') # Dynamic template partial names can never be tracked
|
unless name.include?("#") # Dynamic template partial names can never be tracked
|
||||||
logger.error " Couldn't find template for digesting: #{name}"
|
logger.error " Couldn't find template for digesting: #{name}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -150,7 +150,7 @@ module Rails
|
||||||
end
|
end
|
||||||
|
|
||||||
def field_id(attribute_name)
|
def field_id(attribute_name)
|
||||||
[singular_table_name, attribute_name].join('_')
|
[singular_table_name, attribute_name].join("_")
|
||||||
end
|
end
|
||||||
|
|
||||||
def singular_table_name # :doc:
|
def singular_table_name # :doc:
|
||||||
|
|
Loading…
Reference in a new issue