Forum: Ruby on Rails Rails Context

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
mike (Guest)
on 2007-02-08 15:07
(Received via mailing list)
Example: Belongs_to is according to the Rails Framework Documentation
a public instance method of Module
ActiveRecord::Associations::ClassMethods. David A. Black explains in
this book, that the instance method ends up as class method of
ActiveRecord::Base.

My general (beginner) question is:
1. How do I know in which Rails context I can use which Rails instance
methods? Is there any rule of thumb?

2. How is the accessibility of the instance variables accross the MVC?
How is it realized Rails internally?

3. Any additional docu on that?

Thanks for Your guidance in advance
This topic is locked and can not be replied to.