a test rails app with ajax