开发者

How do I edit my database so I can link it with my models in rails?

开发者 https://www.devze.com 2023-03-15 20:22 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消