阅读背景:

如何在Rails应用程序中使用长id ?

来源:互联网 

How can I change the (default) type for ActiveRecord's IDs? int is not long enough, I would prefer long. I was surprised that there is no :long for the migrations - does one just use some decimal?How can I change the (default) type for ActiveR




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

分享到: