updated rails exercise 5