搞定activeRecord