add via get for rails 4