variables rows and column used in erb template