ActiveRecord (lite) mimic