Fix rubocop violations

This commit is contained in:
yuuji.yaginuma 2017-04-12 07:41:59 +09:00
parent afb41fbefa
commit fb9e846be9
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: