Fixed ActiveAdmin not working with gem 'will_paginate', generate slugs automatically if the :slug attribute is left empty (ActiveAdmin)