From: Marnen Laibow-Koser Date: 2010-01-17T23:28:46+09:00 Subject: Re: Which source file? Ralph Shnelvar wrote: > Windows development environment. How is that relevant? > > After starting webrick using > ruby script/server webrick --debugger > > I started poking around and found ... > - - - - > (rdb:2) @devise_mapping > # :confirmable, > :recoverable, :rememberable, :timeoutable, :trackable, :validatable], > @klass="Us > er", @route_options={}, @path_names={:confirmation=>"confirmation", > :password=>" > password", :sign_in=>"sign_in", :sign_out=>"sign_out"}, > @path_prefix="/", @name= > :user, @as=:users> > (rdb:2) @devise_mapping.class > Devise::Mapping > - - - - > > Is there a convenient way to find out which source module What's a source module? > defined/defines the class Devise::Mapping ? Yes. Use grep. Or look in the rdoc. And remember that it might be defined in more than one place, since modules and classes can be reopened. Best, --  Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.