Ajax test project with rails