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
Since your proc has |obj, *args|, for the second argument, which is an array, it seems obj gets to be :application_id and *args gets to be [:address], and thus the inspect method is being called with :address and this explodes.
I checked ActiveSupport's implementation of this, working fine, and it's:
Hi,
Your Symbol#to_proc implementation is this:
However, this breaks one of my migrations.
This basically triggers the method_missing method in Migration, that starts like this:
arguments in this case is:
Since your proc has |obj, *args|, for the second argument, which is an array, it seems obj gets to be :application_id and *args gets to be [:address], and thus the inspect method is being called with :address and this explodes.
I checked ActiveSupport's implementation of this, working fine, and it's:
Can you change it to that?
Thanks!
The text was updated successfully, but these errors were encountered: