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
Send context within '#new' method.
This maybe can be acheived by overriding constant lookup, by adding the 'self' in constant value. Then use that value to create a new content when new method is called.
This behavior should also be reproduce for core objects (when creating array via [] instead of Array.new). And in AR find methods
The text was updated successfully, but these errors were encountered:
Send context within '#new' method.
This maybe can be acheived by overriding constant lookup, by adding the 'self' in constant value. Then use that value to create a new content when
new
method is called.This behavior should also be reproduce for core objects (when creating array via
[]
instead ofArray.new
). And in ARfind
methodsThe text was updated successfully, but these errors were encountered: