fixing foodcritic issues
use string instead of symbol for accessing attributes
Merge pull request #1 from ranjib/foodcritic_fix

fixing foodcritic issues