so I have the following rails query on postgres that worked fine when I ran rails 4
@products = @products.offset(offset).limit(@limit).where(status: "vis