Referer-parser for Rails