Fixed deprecation warning that occurs in Rails 4.0
Merge pull request #152 from ramoney75/master

Fixed deprecation warning that occurs in Rails 4.0