add back active_record/railtie framework