solnic edited this page Dec 29, 2010 · 9 revisions

A list of things that surprises us about DataMapper

  • DataMapper.auto_upgrade! misses :index => true adds
  • DataMapper.auto_upgrade! misses property type changes (like Integer => String etc.)
  • Assigning to a not-yet-lazy-loaded property causes the property to be loaded first (for dirty tracking, but why bother?)
  • Saving a model with not-yet-lazy-loaded properties causes them to be loaded (individually, one at a time) [FIXED]
  • Group-based Lazy-Loading doesn't appear to work (boolean and array-of-tags) [FIXED]