On 22/06/11 3:21 AM, Teddy Limousin wrote:
Hi guys, im using data mapper 1.1.0 and when trying to execute one of
the examples from the page I got the error.

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

I read somewhere that on version 1.1.1 this will be fixed but what
should I do in the meantine. How can I start working with data mapper.
Im using this tool for my thesis so is pretty important to me to start
using it ASAP.

I will apreciate any help or some sort of temporary solution for this.
I tried to install version 1.0.2 but the dm-migrations needs the 1.1.1
version.
Hi Teddy,
Here's what we have in our Gemfile:

# We can technically use the 1.1 gem, but it throws up deprecation warnings.
# This ref is the commit the warnings were silenced, but is before the DM
# dependencies were bumped to 1.1.1 (which hasn't been released yet)
gem 'dm-do-adapter',
git: 'git://github.com/datamapper/dm-do-adapter', ref: '7f0b53d1ada8735910e0'

Cheers,
Xavier

--
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to