You could move these calls to a private helper that gets called each time these methods are called. That way you don't need to repeat this in show, edit, update, and destroy.