Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with auto_migrate #7

Open
jorgevila opened this issue Oct 3, 2011 · 0 comments
Open

Error with auto_migrate #7

jorgevila opened this issue Oct 3, 2011 · 0 comments

Comments

@jorgevila
Copy link

I am obtaining this error when testing the example...

jorgev-mac:example cesarfuentes$ ruby -rubygems app.rb
DataObjects::URI.new with arguments is deprecated, use a Hash of URI components (/Library/Ruby/Gems/1.8/gems/dm-do-adapter-1.1.0/lib/dm-do-adapter/adapter.rb:231:in new') /Library/Ruby/Gems/1.8/gems/dm-core-1.1.0/lib/dm-core/model/relationship.rb:378:inmethod_missing': undefined method auto_migrate!' for Post:Class (NoMethodError) from /Library/Ruby/Gems/1.8/gems/dm-core-1.1.0/lib/dm-core/model/property.rb:251:inmethod_missing'
from ./lib/common.rb:14
from /Library/Ruby/Gems/1.8/gems/sinatra-1.3.0/lib/sinatra/base.rb:1270:in configure' from /Library/Ruby/Gems/1.8/gems/sinatra-1.3.0/lib/sinatra/base.rb:1586:insend'
from /Library/Ruby/Gems/1.8/gems/sinatra-1.3.0/lib/sinatra/base.rb:1586:in configure' from ./lib/common.rb:12 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:ingem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from app.rb:1

I will try to figure out the version for dm-core needed for sinatras-hat,...

Best,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant