Skip to content

Commit

Permalink
Skipping send of uncountable when iterating across instance variables
Browse files Browse the repository at this point in the history
  • Loading branch information
randalldfloyd committed Dec 6, 2024
1 parent a50e3f1 commit 485800e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/concerns/hyrax/valkyrie_lazy_migration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def initialize(klass, *args)
instance_variables.each do |ivar|
next if ivar == :@name
next if ivar == :@klass
next if ivar == :@uncountable
instance_variable_set(ivar, legacy_model.model_name.send(ivar[1..-1]))
end
end
Expand Down

0 comments on commit 485800e

Please sign in to comment.