mysql - Build a table at runtime in Ruby on Rails -


How do I go about creating more than one database tables on runtime, which uses the same model, The table name can guess what is the name of the model? I want to be able to create a new object based on a model, then create a new table with a unique name, so that the object will be referenced. Anyone has an example or advice, which can help me find solutions?

This is a architectural problem - why do you clone the same model to store them all in one single table? Instead of keeping?

In the relational database model, there is a relationship that defines a line or tuple, which means it is set about any other similar set of attributes of the key related to the same relation (table) is.


Comments