Twitter clone using rails and ajax