Hello people, I''m implementing a geocoding feature in my web app, a classic feature, for showing registered user by location. For this purpose, I''ve inspired myself from the following tutorial : http://earthcode.com/blog/2006/04/rails_geocoding_and_google_map.html However, I''m getting this error from Rails : uninitialized constant SandboxController::XMLRPC Being a newbie to rails and webservices, I can''t figure out how to solve this. Can anyone help ? Regards, Joel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 5 May 2008, at 12:44, joel wrote:> > Hello people, > > I''m implementing a geocoding feature in my web app, a classic feature, > for showing registered user by location. > > For this purpose, I''ve inspired myself from the following tutorial : > > http://earthcode.com/blog/2006/04/rails_geocoding_and_google_map.html > > However, I''m getting this error from Rails : > > uninitialized constant SandboxController::XMLRPC > > Being a newbie to rails and webservices, I can''t figure out how to > solve this. >Sounds like you''re just missing http://ruby-doc.org/stdlib/libdoc/xmlrpc/rdoc/classes/XMLRPC/Client.html Just require that library and you should be ok. Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote:> On 5 May 2008, at 12:44, joel wrote: > >> However, I''m getting this error from Rails : >> >> uninitialized constant SandboxController::XMLRPC >> >> Being a newbie to rails and webservices, I can''t figure out how to >> solve this. >> > Sounds like you''re just missing > http://ruby-doc.org/stdlib/libdoc/xmlrpc/rdoc/classes/XMLRPC/Client.html > > Just require that library and you should be ok. > > FredIts working when u give the statement require ''xmlrpc/client'' before the server call to the xmlrpc in the controller. I got this the latitude and longtitude values of the address in the xmlrpc but how to do with in the html pages, and how to get the values for the address from db. thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---