A simple introduction to ruby on rails 3 with working code