fix ActiveRecord example