react with rails application