Fixed issue after unhash did not use the result.
Merge pull request #45 from jetthoughts/rails4

Compatible with Rails4
Version 0.3.0