Ernesto Jiménez
2008-Feb-14 01:40 UTC
[PATCH] ActiveResource should allow setting user and password.
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 ernesto.jimenez@negonation.com --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---