Question about extending schemas at run-time


#1

I’m sure this has been brought up before but I probably am using the
wrong keywords to search. I’d like to know if there is a way to use Ruby
to create dynamic schemas. As an example, I’d like to create an
administrative page that would allow administers to add or remove fields
from that page - which results in a modification to the schema of the
table in the database. Can this be done at runtime without having to
restart Ruby?


#2

On 4/7/06, Eric removed_email_address@domain.invalid wrote:

I’m sure this has been brought up before but I probably am using the
wrong keywords to search. I’d like to know if there is a way to use Ruby
to create dynamic schemas. As an example, I’d like to create an
administrative page that would allow administers to add or remove fields
from that page - which results in a modification to the schema of the
table in the database. Can this be done at runtime without having to
restart Ruby?

Are you using Rails?

If so, you’re probably going to have better luck on the Rails mailing
list (http://lists.rubyonrails.org/mailman/listinfo/rails).

If not, much more information is required.

-austin


#3

Austin Z. wrote:

On 4/7/06, Eric removed_email_address@domain.invalid wrote:

I’m sure this has been brought up before but I probably am using the
wrong keywords to search. I’d like to know if there is a way to use Ruby
to create dynamic schemas. As an example, I’d like to create an
administrative page that would allow administers to add or remove fields
from that page - which results in a modification to the schema of the
table in the database. Can this be done at runtime without having to
restart Ruby?

Are you using Rails?

If so, you’re probably going to have better luck on the Rails mailing
list (http://lists.rubyonrails.org/mailman/listinfo/rails).

If not, much more information is required.

-austin

I’m going to use Rails - Perhaps I will post this question there.