fix get params for rails 4
small improvement
Merge pull request #3 from ecomcharge/fix-get-params-for-rails4

fix get params for rails 4