Hi Guys thanks for your response, I think emmanuel is right, this is
just a warning and does not prevent the usage of the datamapper.
Just in case you guys want to prevent seeing this warning you can
modify the DataObjects:URI initializer. This is what I did.
DataObjects::URI.new(
{:scheme=>@options[:adapter],
:user=>@options[:user] || @options[:username],
:password=>@options[:password],
:host=>@options[:host],
:port=>port,
:path=>@options[:path] || @options[:database],
:query=>query,
:fragment=>@options[:fragment]}
).freeze
Replaced the comma separated value with a hash, easy stuff. Will wait
for the 1.1.1 release of the data mapper.
Thank you very much for you responses guys, they really helped.
Regards,
Teddy
--
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.