Topic: New Table Within Database?

I just started working with Ruby on Rails. As of yesterday actually.  Anyway, I'm currently building a blog without scaffolding. I'm at the point where I need to add a user system. I already created a new controller for handling users but I have a problem. What is the correct way to create a new table inside the existing database? I would think just to edit the migration file, but I'm not too sure. Sorry for being a newbie.

Re: New Table Within Database?

You should always use th automated rails generators wherever possible, They save a lot of time and effort in too many ways to mention.
I think this cast might help you on your way
http://railscasts.com/episodes/250-auth … om-scratch

What you want and what you need are too often not the same thing!
When your head is hurting from trying to solve a problem, stop standing on it. When you are the right way up you will see the problem differently and you just might find the solution.
(Quote by me 15th July 2009)

Re: New Table Within Database?

Alright, I'll check it out. Thanks.

Re: New Table Within Database?

Cool, come back if you have any more questions

What you want and what you need are too often not the same thing!
When your head is hurting from trying to solve a problem, stop standing on it. When you are the right way up you will see the problem differently and you just might find the solution.
(Quote by me 15th July 2009)