Rails 2.3.4 support: warning: default `to_a' will be obsolete
rud opened this issue · 3 comments
rud commented
When using ar-extensions 0.9.2 with Rails 2.3.4 on ruby 1.8.6-1.8.7, the warning "default `to_a' will be obsolete" is often printed to STDERR.
The patch at [1] fixes this problem, please have a look.
[1] http://github.com/thillerson/ar-extensions/commit/fc0cab906ebc3766f22ab55e8e38a1c173187dbb
Regards
/Laust Rud
ghazel commented
Well, +1, I guess.
Rails won't turn off the warning, and I don't see a good way around this. The patch included above "fixes" the issue.
sid137 commented
Hi,
Is there any chance of applying this patch?