use ActiveRecord instead of sequel