Wednesday, April 3, 2013

[Rails] Dynamically create databases?

Is it possible to dynamically create new databases and tables within them with Rails?

Or is that a task best done manually?

I'm creating an application which should allow users to store their own statistics information (which can and probably with time will be a lot).
My initial thought was to give each user their own database to keep their data separate from each other due to the possible large quantity of data each user will have.

Good idea? Bad idea? Other ways to do it?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/ZRLrcnKJ-fsJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate