Merge pull request #28731 from y-yagi/fix_rubocop_violations

Fix rubocop violations
This commit is contained in:
Rafael França 2017-04-11 18:45:32 -04:00 committed by GitHub
commit 15c4306cf1
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ module ActionView
node
end
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}"
end

View File

@ -150,7 +150,7 @@ module Rails
end
def field_id(attribute_name)
[singular_table_name, attribute_name].join('_')
[singular_table_name, attribute_name].join("_")
end
def singular_table_name # :doc: