Replace database bootstrapping with Active Record