This project is archived and is in readonly mode.
"warning: default 'to_a' will be obsolete" from method_missing in association_proxy
-
Simon Chiu
I suspect it is a named scope problem. I added some name scopes and then this popped up. Still trying to track it down myself.
-
Andrew France
If you unpack rails into the vendor directory you could add something like this immediately before the line that generates the warning in association_proxy:
(I guess log.info may work instead of puts.)puts caller.inspect if method.to_s == 'to_a' -
Ari Epstein
I resolved this using the suggestion above. Turned out I need to change the following:
{mkd-extraction-ad9d79ea10d3bb971dfb385a3ee01617}To:
{mkd-extraction-6f8ad3a4d7c861170ca64e9dd6eb63ea} -
Rizwan Reza
- State changed from new to invalid