Thanks for the help... actually i am using places hash evrywhere....so i dnt want modifications throughout the code...n files...so..i want to put the all retrieved records to be placed in that...places. n i want it at the start of controller call...
thats y... ok i tried ur statments given...but still it is giving error... TypeError in GmapController#index can't convert nil into String RAILS_ROOT: /home/ubuntu/gmaptry Application Trace | Framework Trace | Full Trace app/controllers/gmap_controller.rb:57:in `+' app/controllers/gmap_controller.rb:57:in `get_geocode' app/controllers/gmap_controller.rb:30:in `index' app/controllers/gmap_controller.rb:28:in `each' app/controllers/gmap_controller.rb:28:in `each_with_index' app/controllers/gmap_controller.rb:28:in `index' .... so what should i do...please help.... also i am using evrywhere.... place[:address] place[:description].... so how can i specify that... please help me.... thanks... --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---