阅读背景:

如何在Rails应用程序中存储年份

来源:互联网 

I want to just store the year in one of my models. At the moment I just have a database field called year of type date, but it seems to want to take a whole date (yyyy-mm-dd) rather than just a year.I want to just store the year in one of my mode




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

分享到: