The Gestalt school of psychology is credited with introducing the concept of learning by insight.