datamapper/dm-constraints — Issue #15: auto migrate fails with belong_to
Author: makevoid
Created: 2011-11-21 00:13:13+00:00
State: open

please clone this gist and run "bundle install" then run the ruby file (edit your mysql user and pass if needed)

git://gist.github.com/1381221.git

then uncomment the belongs_to line and run again, it should reproduce the error

lighthouse issue:

http://datamapper.lighthouseapp.com/projects/20609/tickets/1262-auto-migrate-fails-in-current-master