When I told some web developer friends that I was going to try to
learn Rails while taking a year off before college (when I would have
very little internet), they were a little concerned, saying that it
was almost essential to get advice from more experienced developers to
really understand the nuances of the language.

I have set this google group up to send me emails which I can retrieve
on the boat, so hopefully I will be able to learn with your help.

Anyways, I have a few questions.

I am making a very simple forum as my first real project (one done
without a tutorial in a book). I have read Head First Rails by
O'Reilly (which was very helpful), and I think I can do it. However,
the database organization is what I'm not sure about.

How should I organize threads, posts, users, and options?

I think that threads and posts I can make a relationship between, and
use "thread_id" in the posts table to show which posts belong to which
threads. However, this seems like the table will get huge very
quickly. On the other hand, I don't think that each thread needs it's
own posts table. What do you recommend?

Similarly, should a user's options be in the users table, or should
options have its own table which connects via a relationship between
user id and user_id in the options table?

Finally, how should I store global forum settings like default posts
per page and stuff like that?


Thanks so much for your help!
~Zak Strassberg

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to