Displaying 2 results from an estimated 2 matches for "peter_vhttp".
2012 Jan 17
4
Find all association methods
Hi all,
I want to get all association methods in one single model....
Any default method is provided by Active Record ???
i am using ruby 1.9.3 and rails 3.1.3
Please reply me ....
Thanks,
kingston.s
--
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
2012 Jan 21
4
why doesn't an instance of Object get Class's new instance method?
"Object is the root of Ruby''s class hierarchy. Its methods are
available to all classes unless explicitly overridden."
Wouldn''t Class class be at the root of the class hierarchy?
After all, look at this:
1.9.2p290 :006 > Object.instance_of? Class
=> true
Object is an instance of class, after all we can use one of Class''
instance methods on Object: