I kept running into this bug in a dm-rails app where explicit migrations could not resolve Property constants under Ruby 1.8.7, but work as expected under 1.9.2.
Steps to Reproduce
rails new dm-bug -m http://datamapper.org/templates/rails.rb
Add an explicit migration:
migration 1, :create_users do
up do
create_table :users do
column :id, Serial
column :name, String
column :bio, Text
end
end
down do
drop_table :users
end
end
I kept running into this bug in a dm-rails app where explicit migrations could not resolve Property constants under Ruby 1.8.7, but work as expected under 1.9.2.
Steps to Reproduce
rails new dm-bug -m http://datamapper.org/templates/rails.rb
Add an explicit migration:
rake db:migrate:up
Expected Results
Actual Results
I have successfully reproduced this bug under MRI 1.8.7 and JRuby 1.6.4.