resolve retrieve info from rails