Executing ruby code withing a ruby app

Hi,

    I have some ruby code stached away in a database table. I would like to
run this code within my ruby application.
    How can I do it ?

    For example say I have the following method:

    def run_some_script
       ruby_code = Mytable.ruby_code # Where Mytable is an ActiveRecord
object that references a db table which contains some ruby script

       # Now I want to run the ruby script that is in the db table and
return the result of the execution
    end

Thank you all for the help...