lib/dm_panlex/models/wcex.rb in dm_panlex-0.2.0 vs lib/dm_panlex/models/wcex.rb in dm_panlex-0.2.1
- old
+ new
@@ -5,8 +5,8 @@
storage_names[:default] = 'wcex'
property :ex, Integer, :key => true
property :tt, Text, :required => true, :unique_index => true
- has n, :wcs, :parent_key => :ex, :child_key => :ex
+ has n, :wcs, :model => 'Wc', :child_key => :ex
end
end