init with rails