Hello,

I just uploaded this patch:
http://dev.rubyonrails.org/ticket/11112

The point is URI restricts username and password and, for example, you
cannot use emails as usernames.

I have patched ActiveResource to allow the following syntax:
class Person < ActiveResource::Base
  self.site = "http://api.people.com:3000/";
  self.user = "ryan"
  self.password = "password"
end

Patch includes tests and updated doc.

Feedback is welcome :)

Cheers

-- 
Ernesto Jiménez Caballero
Software Engineer Leader
Negonation
(34) 620 475 382
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to