On Tue, Jul 21, 2009 at 5:09 AM, Marcus Rueckert<darix / opensu.se> wrote: > On 2009-07-21 18:14:59 +0900, Urabe Shyouhei wrote: >> I've just been told by another Japanese rubyist that 1.8.6 added some new >> public API. ¨Β§ν ξευτςατο τθατβυθοξεστμω βισυςπςισεατ ιτ βεγαυσ>> AFAIK there was no discussion on this list about this change. ¨Βαξ σονεοξσθοχ >> me a pointer on such discussion if any? >> >> wyhaines / ruby-lang.org wrote: >> > wyhaines 009-07-10 03:48:23 +0900 (Fri, 10 Jul 2009) >> > >> > New Revision: 24008 >> > >> > http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24008 >> > >> > Log: >> > Removed private on to_date and to_datetime. >> > >> > Modified files: >> > branches/ruby_1_8_6/ChangeLog >> > branches/ruby_1_8_6/lib/date.rb >> > branches/ruby_1_8_6/version.h >> > > > I think he just applied my patch there. The thing is. Those methods had > been in rails i think for quite a bit. then in some 1.8.6 patch release > the methods suddenly got added as private methods in ruby core, with a > sync from upstream of date2. that broke many rails applications. This was solved in Rails in early 2007: http://github.com/rails/rails/commit/593b1b837d24e61ea8f5386d66669585f3c14d5a Those affected can upgrade Rails or hotfix their app using: http://github.com/rails/rails/blob/0c68d23f19010379a9320690ca17a26743c8f071/activesupport/lib/active_support/core_ext/time/publicize_conversion_methods.rb Best, jeremy