On 2 February 2012 18:37, Philip Hallstrom <phi...@pjkh.com> wrote:
>>> +1... (so frustrating that this is not provided as part of the core Rails
>>> docs - I've wasted more time debugging crap caused by reserved word clashes
>>> than any other single thing in Rails.)
>>
>> I suggest that one of you pick up all the old data they can find and
>> start a new list somewhere.  Preferably on a wiki so others can add to
>> it as they get problems.  Then you will be able to rest on your
>> laurels for the rest of your life knowing that you have done a great
>> service to the community.
>>
>> The problem with making it part of the core docs is that many of the
>> words (I guess) are from gems rather than core code.
>
>
> You might try loading up rails console and...
>
> Module.constants
> ActiveRecord::constants
> ActiveRecord::Base::constants
>
> And so on for the other top level module/classes....

That would only catch a small subset would it not?  There are also
methods to worry about.

I wonder whether one could write a script to extract them all.  That
sounds like a nice little project for someone.

Colin

-- 
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-talk@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