lib/dm_panlex/models/lc.rb in dm_panlex-0.2.0 vs lib/dm_panlex/models/lc.rb in dm_panlex-0.2.1

- old
+ new

@@ -5,9 +5,9 @@ storage_names[:default] = 'lc' property :lc, String, :length => 3, :key => true property :tp, String, :length => 1, :required => true - has n, :i1s, :parent_key => :lc, :child_key => :iso3 - has n, :lvs, :parent_key => :lc, :child_key => :lc + has n, :i1s, :model => 'I1', :child_key => :iso3 + has n, :lvs, :model => 'Lv', :child_key => :lc end end