updated the gem to be compatible with Rails4
Merge pull request #11 from mbyczkowski/rails4_compatibility

updated the gem to be compatible with Rails4