On Apr 6, 2010, at 9:00 PM, thunk wrote:
> On a single user system we are using the following code to load
> textfiles into the program as executable classes.
>=20
> http://gist.github.com/358497
>=20
> I remain unclear if this can be done on Heroku, and how.
>=20
> Can the newly created text file be saved to Amazon?
>=20
> If so, how is this done?  (Normal File IO? somehow?)
>=20
> If we stored the text files into a RDMS, can you think of a way to
> become classes in the running program?

If you really want to do this (and you'll probably regret it later, =
honestly), you can store the scripts in a text column in a DB table and =
have them "become classes" using Kernel#eval.


~ j.