removed active-record dependency.