Use get instead of match to be compatible with Rails 4
Merge pull request #47 from devn/master

Use get instead of match to be compatible with both Rails 3 and 4