On Mon, Feb 15, 2010 at 5:49 PM, Julien Palmas <jul...@cruxandco.com> wrote:

Hi list,
>
> With Rails 3 beta,
> activesupport/lib/active_support/core_ext/object/extending.rb is gone, and
> with it Object.subclasses_of.
>
> Is there an official replacement for that ? Maybe in Ruby 1.8.7 ?
>

Hey Julien, that method was among a few that were removed because they were
kinda internal and were no longer being used in the framework. The classes
in Rails that keep track of subclasses do that by themselves.

But some plugins were actually using Object#subclasses_of, so it is now back
in master and there are no plans to deprecate it.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to