Add data migration to trim edition titles
user
```ruby
editions = Edition.includes(:translations).where('edition_translations.title LIKE " %"')
editions.each do |edition|
  if edition.title
    puts "Updating edition '#{edition.title}'"
    edition.translations.each do |translation|
      translation.update_column(:title, translation.title.strip)
    end
  end
end

puts "Updated #{editions.length} edition titles"
```
assistant