Add task to generate poll slugs
user
```ruby
namespace :poll do
  desc "Generate slugs polls"
  task generate_slugs: :environment do
    Poll.find_each do |poll|
      poll.update_columns(slug: poll.generate_slug, updated_at: Time.current) if poll.generate_slug?
    end
  end
end
```
assistant