demo code for first day of rails