my first code for rails