transform via rails - not finished