Ruby off Rails assignments