Fixed params conversion error on Rails 4
Merge pull request #141 from creasty/rails4_empty_hash_params_bug

Fixed params conversion error on Rails 4
Merge branch 'rails3' into rails4