I have the following URL the dist lat lng all can have a decimal point in them.. I saw a really old post that suggested to use the map with a requirements list like in the rout statement. Well it doesn;t parse it correctly.. anyone care to correct the regex? this script returns a json object so google maps can put entries on the map.. http://www.domain.com/search/1/5.2/47.5678/-122.006/ map.search ''/search/:type/:dist/:lat/:lng'', :controller => ''search'', :action => ''search'', :requirements => { :lat => /.*/ ,:lng => /.*/,:dist => /.*/ } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---