lib/dm_panlex/models/apli.rb in dm_panlex-0.2.0 vs lib/dm_panlex/models/apli.rb in dm_panlex-0.2.1
- old
+ new
@@ -6,8 +6,8 @@
property :id, Integer, :key => true
property :li, String, :length => 2, :required => true, :unique_index => true
property :pl, Text, :required => true, :unique_index => true
- has n, :aps, :parent_key => :li, :child_key => :li
+ has n, :aps, :model => 'Ap', :parent_key => :li, :child_key => :li
end
end