Updated template and fixed require of active_support