added scope active for active_sale model.