my first attempt at coding with ruby on the rails