阅读背景:

Ruby on Rails主动记录属性内省

来源:互联网 

What is the best way to get the type of an attribute in Active Record (even before the attribute has been assigned)? For example (this doesn't work, just the goal):What is the best way to get the type of an attr




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

分享到: