I want to save ruby code inside a database, retrieve it and execute it. Is it possible to execute a string returned by the database as ruby code?
People succeed in answering Don Miguel de los Platanos's questions 42% of the time (8 successes in 19 attempts).
Answers by: Zachary Holt | awt
Yes it is possible. Check out the 'eval' method.