Changed category visible attribute to active and removed all active class methods from sku, shipping, accessory and product. Created a new module in the models/concerns folder (new to rails 4) and shared the active scope logic across all required models, including category. DRY, clean and easy to extend code. TRAD-45