1month rails class