learning to build a rails web app the proper way