The model object is a first-class Rails object that is suitable for production USES, though you might want to add some validation.
虽然可能想添加一些验证,但模型对象是适合生产应用的第一级Rails对象。
Note that it isn't even necessary to create the figure, since the default creation of PolylineConnection is suitable for most USES (see Listing 4).
请注意,甚至无需创建图形,因为默认创建的PolylineConnection适用于大多数情况(参见清单4)。
应用推荐