Just a sample of rails code