From: Allan Peda Date: 2008-10-13T09:13:21+09:00 Subject: dynamic evaluation from a database Hi, I am writing some functional testing applications in watir and I am most likely going to have this application store the data in a MySQL or Oracle database. Since the tests are going to be in a constant state of change I figure it might be best to store the scripts in the DB as well, since this would allow me to re-deploy any code changes by updating the clobs in the DB. The are several ways to go about this, but was curious as to writing stubs that just fetch the source directly from the DB using DBI to evaluate it. In a general sense is this asking for too much trouble in debugging or using require etc ? I assume require can be overloaded to search the DB as well as the filesystem. -- Posted via http://www.ruby-forum.com/.