remove ActiveRecord dependency