Justin Collins wrote:
> Peter Woodsky wrote:
>> //in config//
>>   <div id="colOne">
>> How do I define the output from the select so I can use it in my page?
>> In the above example I get errors that banner, title, message, image are
>> not defined.
>>
>> Any help is appreciated.
>>
>> Thanks!!
>>   
> 
> Try using ERuby.import("config.rb") at the top of your page to parse and
> run the config file first.
> 
> -Justin

Hi Justin
Thanks for the response. I already use "require" which does the job for 
importing and setting most of the vars. It however does not work with 
the data from the db.

Regards

-- 
Posted via http://www.ruby-forum.com/.