added attr_accessor and @created_at to initialize for Task class; back to you