In our example, birthday and deathday both use the Date class.
在我们的示例中,birthday和deathday都使用date类。
This isn't a major issue unless you are using dates, as ruby's date class is very slow to instantiate.
这并不是一个主要的问题,除非你使用的类型是日期型,因为ruby的日期型的数据实例化起来非常慢。
If you do not have a mapping model, then the Date class will be generated inside a folder called Package1.
如果没有映射模型,那么date类将会生成在一个名为Package1的文件夹内。
应用推荐