You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like 'tzinfo/ruby_core_support' adds untaint method to Object using a refinement, which somehow isn't compatible with what facets does. Anyone have an idea how to fix this on the facets side?
Maybe as simple as just adding untaint as an exception to this line (which caused the error)?:
instance_methods(true).each{ |m| private m unless /^(__|object_id$)/ =~ m.to_s }
but that seems brittle.
Why are we making these private anyway? Is there a better way we could do this? BasicObject?
The text was updated successfully, but these errors were encountered:
In my Rails project, when I upgraded
tzinfo
to 1.2.7 it caused this error whenever I tried to boot the app:I was able to reproduce in more minimal context with:
It looks like 'tzinfo/ruby_core_support' adds untaint method to Object using a refinement, which somehow isn't compatible with what facets does. Anyone have an idea how to fix this on the facets side?
Maybe as simple as just adding
untaint
as an exception to this line (which caused the error)?:but that seems brittle.
Why are we making these private anyway? Is there a better way we could do this?
BasicObject
?The text was updated successfully, but these errors were encountered: