Forum: Ruby on Rails Setting a var in all models

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
cool_screen_name90001 (Guest)
on 2005-11-25 12:03
(Received via mailing list)
I have a var that is set in my application controller, which all other
controllers and views can
access. How can I assign it to all models automatically, so they can
access its values?


Yahoo! Mail - PC Magazine Editors' Choice 2005
This topic is locked and can not be replied to.