Switch from activerecord to sequel