1
或者我怎么能代表一个地址到国家地图的地址有一个国家在城堡activerecord?与Ruby on Rails相比,为什么城堡activerecord中没有hasOne关系?
或者我怎么能代表一个地址到国家地图的地址有一个国家在城堡activerecord?与Ruby on Rails相比,为什么城堡activerecord中没有hasOne关系?
[BelongsTo]
属性存在一对一的关系。
http://api.castleproject.org/html/T_Castle_ActiveRecord_BelongsToAttribute.htm
请标记答案... – ConsultUtah 2009-03-06 19:07:23