I can save the fact if I remove all other properties. Removing soley the 
:required or :default won’t help.
But that‘s no real solution …

class Fact
  include DataMapper::Resource

  belongs_to :patientposition, :key => true
  belongs_to :controlpointcount, :key => true
  belongs_to :radiationtype, :key => true
  belongs_to :collimatormovement, :key => true
  belongs_to :beamcount, :key => true
  belongs_to :marctype, :key => true

  timestamps :at
end

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/datamapper/-/-VY2CyCJWxEJ.
To post to this group, send email to datamapper@googlegroups.com.
To unsubscribe from this group, send email to 
datamapper+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to