Re: [Rails] Google-Maps-for-Rails

2013-02-12 Thread honey ruby
This is code I have written def index @cities = City.all @json = City.all.to_gmaps4rails respond_to do |format| format.html # index.html.erb format.json { render :json=> @cities } end end def create @city = City.new(params[:city]) respond_to do |forma

Re: [Rails] Google-Maps-for-Rails

2013-02-11 Thread Colin Law
On 11 February 2013 10:25, honey ruby wrote: > Hey all, > > > I am using google maps for rails gem. When I use this It is going with > location not specific. Let say I am looking for a store location in Houston > in Tx . The issue is, it is not locating exact store rather it is just > locating onl

Re: [Rails] Google-Maps-for-Rails

2013-02-11 Thread honey ruby
I used google_maps_for_rails gem. On Mon, Feb 11, 2013 at 3:55 PM, honey ruby wrote: > Hey all, > > > I am using google maps for rails gem. When I use this It is going with > location not specific. Let say I am looking for a store location in Houston > in Tx . The issue is, it is not locating exa

[Rails] Google-Maps-for-Rails

2013-02-11 Thread honey ruby
Hey all, I am using google maps for rails gem. When I use this It is going with location not specific. Let say I am looking for a store location in Houston in Tx . The issue is, it is not locating exact store rather it is just locating only Huston. Can any one help me what to do. Thanks