Add offset for activerecord style