Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6085731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:40:19+00:00 2026-05-23T11:40:19+00:00

When I initialize a string in datamapper 1.1.0 DataMapper.setup (:default, sqlite://#{ Dir.pwd}/base.db) I get

  • 0

When I initialize a string in datamapper 1.1.0

DataMapper.setup (:default, "sqlite://#{ Dir.pwd}/base.db")

I get the following error in the Data Mapper:

DataObjects:: URI.new with arguments is deprecated, use a Hash of URI components 

(C: / Ruby192/lib/ruby/gems/1.9.1/gems/dm-do-adapter-1.1.0/lib/dm-do -adapter/adapter.rb: 231: in `new ')

Why is this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:40:20+00:00Added an answer on May 23, 2026 at 11:40 am

    It’s fixed in github in this commit https://github.com/snaggled/dm-do-adapter/commit/d674255fae9ba6e9269290626cf97579d3b7a88d

    You can aither apply it manually in your the patch to C:/Ruby192/lib/ruby/gems/1.9.1/gems/dm-do-adapter-1.1.0/lib/dm-do-adapter/adapter.rb

    – or (not sure if this can work on Windows) –

    gem install bundler
    
    git clone git://github.com/snaggled/dm-do-adapter.git
    cd dm-do-adapter
    Edit Gemfile and replace 'http://' with 'git://'
    bundle
    rake build
    gem install pkg/dm-do-adapter-1.1.1.gem
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this class: public MyClass { public void initialize(Collection<String> data) { this.data =
Consider the following: irb(main):001:0> class A irb(main):002:1> def initialize irb(main):003:2> @string = my string
trying to initialize a string from a vector. I am supposed to get hey
Suppose I have the following: #include <iostream> #include <string> template<class T> class base {
Here's my connection string: // Initialize a connection string string myConnectionString = Provider=SQLOLEDB;Data Source=hermes;Initial
In Java, it is completely legal to initialize a String array in the following
I'm trying to initialize a JSONObject with the following string, received from a web
I would like to Initialize a string with data from a property file in
I'm trying to initialize string with iterators and something like this works: ifstream fin(tmp.txt);
In C#, I want to initialize a string value with an empty string. How

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.