Remove usage of ActiveRecord

Signed-off-by: David Celis <me@davidcel.is>