Skip to content

Commit 1062b7a

Browse files
committed
Skipping send of uncountable when iterating across instance variables
1 parent fe622b2 commit 1062b7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/models/concerns/hyrax/valkyrie_lazy_migration.rb

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def initialize(klass, *args)
2222
instance_variables.each do |ivar|
2323
next if ivar == :@name
2424
next if ivar == :@klass
25+
next if ivar == :@uncountable
2526
instance_variable_set(ivar, legacy_model.model_name.send(ivar[1..-1]))
2627
end
2728
end

0 commit comments

Comments
 (0)