[Fix #6914] Fix an error for Rails/RedundantAllowNil
when with interpolations
#6916
+16
−3
Rails/RedundantAllowNil
when with interpolations
#6916