Skip to content

Commit

Permalink
Address RAILS_7 TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rodney-l authored and amckinnell committed Oct 31, 2024
1 parent 960890c commit 833ba97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/gettext_i18n_rails/model_attributes_finder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ def store_model_attributes(options)
end
end
f.puts "#DO NOT MODIFY! AUTOMATICALLY GENERATED FILE!"
f.puts <<~RAILS_7
# RAILS_7 (2023-04-06): Workaround an issue with Rails 7.
f.puts <<~RAILS_7_WORKAROUND
# Workaround an issue with Rails 7.
# Change in rails: https://github.com/rails/rails/pull/41872
# Issue in gettext_i18n_rails: https://github.com/grosser/gettext_i18n_rails/issues/160.
{}
RAILS_7
RAILS_7_WORKAROUND
end
rescue
puts "[Error] Attribute extraction failed. Removing incomplete file (#{file})"
Expand Down

0 comments on commit 833ba97

Please sign in to comment.