test code from one month rails