Fix error: undefined method `application`