Adjust to new way define_attribute_methods is called in Rails 4
Merge pull request #14 from turbovote/rails-4-fix

Adjust to new way define_attribute_methods is called in Rails 4