2009/10/19 AlwaysCharging <goodg...@gmail.com>:
>
> I was reading this article a while back
> http://www.sitepoint.com/blogs/2008/06/06/did-rails-sink-twitter/
> and it got me thinking.  If I wanted to set up my app so that each
> user has his/her own table, how would I go about doing that?
>
> "create_table :users"  just creates a table in the database for a list
> of all the users (which I guess I'd want in addition to their
> individual tables), but is there a way to make it create an new table
> for each user?  Would this even be the best way if my app allowed
> "followers?"  Admittedly there'd be a ton of tables in my database,
> but wouldn't it make it easier for indexing all of your followers
> messages?
>
> Any insight is greatly appreciated.

Why not just put the information in the users table?  If you think
this is not an appropriate solution give more details of the
requirement so we can see what you are trying to do.

Colin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to