From: Adwin Wijaya Date: 2007-06-29T19:39:54+09:00 Subject: Re: Modules and Class --- what is that ? -- Jano Svitok wrote: > Many of the "magic" methods are implemented using method_missing, that > is called whenever a method is not found, before raising exception > (e.g. find_by_...) > > To see the what methods a class has, startup rails console [2], and > issue ActiveRecord::Base.methods.sort (for class methods) > > and ActiveRecord::Base.instance_methods.sort (for instance methods) > > I will leave up to you to lookup the details of [1] and [2] ;-) > > J. Thank you Jano, my last question is, how to startup rails console, so that i could see the methods for class and instance methods ... What is the difference between instance methods and class methods ? ^_^: -- Posted via http://www.ruby-forum.com/.