avoid private attribute? warning
Merge pull request #323 from railsaholic/remove_private_attribute_warning

Avoid 'warning: private attribute? '