How do I edit my database so I can link it with my models in rails?
I have already created a model that processes user names and password , but no database. How can I go backwards (without using scaffold) and essentially say "put all these users and passowords into a table with an auto_increment ID field" to the database.
This i开发者_如何转开发s probably a very easy task, but I am so new to rails and how everything interacts that I'm having a tough time with it.
Start here: Rails Migrations.
We'll need a few details before we can provide any more specific help.
精彩评论