From: Ilan Berci Date: 2008-08-19T05:01:46+09:00 Subject: Re: Where did this constant come from? David Masover wrote: > What's the simplest way to find out where a constant was defined? > > I did come up with a way (probably partly ripped off from > ActiveSupport), but > it feels convoluted and fragile: just install the gem rak and grep for it.. :) I do this all the time when I have to go into AR.. cd /usr/lib/ruby/gems/1.8/gems/activerecord/lib rak done -- Posted via http://www.ruby-forum.com/.