this is the tutorial of http://code.tutsplus.com/articles/building-ribbit-in-rails--net-29116 with corrected lines