Learning rails inspired from Ruby on Rails Tutorial