Change match to get for Rails 4