test connect parse with rails