Skip to content

Commit

Permalink
Remove deprecated config.active_storage.replace_on_assign_to_many
Browse files Browse the repository at this point in the history
`config.active_storage.replace_on_assign_to_many` has been removed and
this piece of code has become unreachable.

This is a follow-up to b06252e.
  • Loading branch information
sato11 committed Jul 21, 2024
1 parent e0a9ef1 commit b21b716
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions activestorage/lib/active_storage/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,6 @@ class Engine < Rails::Engine # :nodoc:
ActiveStorage.silence_invalid_content_types_warning = app.config.active_storage.silence_invalid_content_types_warning
end

unless app.config.active_storage.replace_on_assign_to_many.nil?
ActiveStorage.replace_on_assign_to_many = app.config.active_storage.replace_on_assign_to_many
end

ActiveStorage.track_variants = app.config.active_storage.track_variants || false
end
end
Expand Down

0 comments on commit b21b716

Please sign in to comment.