Cloned twitter using Ajax and Ruby on Rails