created sample rails app using Ajax