If I have a model stated as Admin::Assignments and add the following:

is :self_referential, :through => 'AdminTask',
        :children   =>  :child_tasks,   # admin_child_tasks
        :parents    =>  :parent_tasks,  # admin_parent_tasks
        :source     =>  :parent_tasks,  # parent_tasks
        :target     =>  :child_task     # child_tasks

both create_relationship_writer and create_relationship_reader in dm-
core-0.10.3/lib/dm-core/model/relationship.rb fail because of the "/"
in the relationship.name.

I get the following error from

: syntax error, unexpected '/', expecting '\n' or ';'
   def admin/assignment_child_tasks(query = nil)

Can anyone suggest a patch for this?

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to