rails connection proplem resolved