shameless twitter copy while learning ruby and rails