[typo] [TYPO] config object is ... what?
Dan Bikle
dan.bikle at gmail.com
Sat Oct 29 20:16:39 EDT 2005
People,
I'm new to Rails so I'm looking at other people's source code.
I'm poking around in the Rails code for the blog engine named 'typo':
http://typo.leetsoft.com/
I'm looking at this file:
http://typo.leetsoft.com/trac/file/trunk/app/controllers/application.rb
I see:
before_filter :reload_settings
which is calling this:
def reload_settings
config.reload
end
I'm curious about the object named 'config'.
I'm trying to figure out if it is a Rails object or Typo object.
The fact that it has a reload() method suggests to me that is an object
built from an ActiveRecord class.
I tried poking around with grep and got too many lines back since config
is such a common token.
What is the config object?
Anyone know?
-Dan
More information about the Typo-list
mailing list