problem with rails