From: Roger Pack Date: 2010-01-19T11:58:33+09:00 Subject: Re: Which source file? > Devise::Mapping > - - - - > > Is there a convenient way to find out which source module > defined/defines the class Devise::Mapping ? If you're on 1.9, you can use Method#source_location to see where it's source was defined (at least). This tool leverages that: ri_for gem C:\> gem install ri_for C:\...>script\server # drops into a debugger (rdb:1) require 'ri_for' (rdb:2) Devise::Mapping.ri_for :some_method (rdb:2) Devise::Mapping.desc GL. -r -- Posted via http://www.ruby-forum.com/.