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
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
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
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
4 matches
Mail list logo