阅读背景:

Rails Active Record表id字段

来源:互联网 

Rails handle table id's automatically, in an incremental way. What if I want to stop this incremental behavior? I am actually building a website that uses the FB API and I d like to set the user id to be the facebook id. I am new to rails, so is that possible?Rails handle table id's automatically, in an in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: