1/ Ruby / Rails is doing something VERY weird I have ActionMailer send some msgs. In devel / test, they should be delivered into an array
2/ ...but array is empty. If I debug print the return val from the func invocation, tho, it works. Tested this a dozen times.
-
-
3/ There's some optimization going on that only runs code if the value is being used. ...but it's ignoring necessary "side effects" !!!
-
4/ ...but it turns out that if I assign the return value into some other variable (even if I never display it), the func still gets invoked
- Show replies
New conversation -
-
-
The wages of monkeypatching
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.