remove references to active_resource