Displaying 20 results from an estimated 400 matches similar to: "Model/google maps display"
2011 Sep 19
14
gmaps4rails "acts_as_gmappable" error
Hi all,
I started to see fun of gmaps4rails gem from
https://github.com/apneadiving/Google-Maps-for-Rails.
After everything done. When visited the locahost, i got the following
error.
undefined local variable or method `acts_as_gmappable'' for #<Class:
0x31a9da8>
the error is due to i have line "acts_as_gmappable" in my model.
Anybody knows how this is
2013 Apr 02
4
gmaps4rails: undefined method `model_name' for NilClass:Class
Hi All,
just in a spot of bother with this gem, I am trying to create a new
location and get the above msg.
here is my controller:
class LocationsController < ApplicationController
# GET /locations
# GET /locations.json
def index
@locations = Location.all
@json = Location.all.to_gmaps4rails
end
respond_to do |format|
format.html # index.html.erb
2008 Jun 23
1
Problem with passenger
Hello everybody.
I''m trying to run an app with passenger, but having some problems...
In apache2.conf I''m using:
ServerName 10.10.2.15
Include /etc/apache2/sites-enabled/[^.#]
Then at /etc/apache2/sites-available/cadamostras I have
<virtualhost> ServerName 10.10.2.15 DocumentRoot
/home/cassio/web/cadamostras/public RailsPoolIdleTime 650 ErrorLog
2009 Oct 22
6
Mapstraction V2 Geocoder?
Hey all,
I''m wondering about your thoughts on upgrading the Geocoder to use
Mapstraction V2. Currently it uses the old syntax (i.e., for
LatLonPoint, etc.):
http://mapstraction.appspot.com/#geocoding
Moving from V1 to V2 is fairly simple changes to the code. However, I
wonder whether we want to update the way the geocoder is structured,
as well? Some options:
1) Roll geocoding
2011 Feb 25
10
Access to a share resource without password
Dear, I have a Linux Samba server and a Windows XP SP2 client joined
to the "g-company.net" domain.
I want to access a Linux share resource in /var/share without password
from WXP desktop FROM ANY USER.
This is my scenario:
- I don't create any Linux local user because I want total access from any user
- I use security = share
- My smbusers file is:
root = administrator admin
2006 Feb 01
3
Parsing RDF coming from a URL
Hello,
i''m writing an application that needs geocoding information for locations
outside of the US.
I''m using the brainoff.com geocoding service
mappoint = Net::HTTP.new(''brainoff.com'', 80)
response = mappoint.get(''/geocoder/rest/?city=Gent,BE'')
logger.debug response.body
and the body of the response is in the following form :
<rdf:RDF
2007 Jul 24
3
geocoding addresses with ym4r google maps
Does anyone know how to geocode addresses using the YM4R Google Map
plug-in?
--
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
2007 Aug 29
2
forcing XP clients to use CIFS
Hi Guys!
Anyone know how can I do this trick?
I guess there is a registry value for it. As I noticed winxp try to use
smbfs first not cifs. In linux it's easier because you can choose when
you mount your shares.
Regards,
Jax
2009 Dec 19
3
Samba + Cups 2200 Laserjet printer
Hi all,
Hoping some one can help me out here.
I have a 2200dn laser printer working on a centos 5 server (using webmin for
configuration).
I have added it via webmin as a samba printer share with permissions to my
account.
Security is set to "user level" not "share level" (the default).
I can access my samba shares fine, download and upload to them.
I can also see the
2009 Dec 01
1
''system(cmd) : make not found'' error during package install
Hello,
I've been using various packages in R for a few years now to analyse genomics data but I've just come up with some errors for which I cant seem to find a solution. Heres the situation:
> source("http://harlequin.jax.org/rmodel/packages/downloadRmodel.R")
> getRmodelHuman()
also installing the dependency rmodel
trying URL
2012 Jul 29
1
Help needed with configuration giving dict error No such file
Each time a mail message is delivered to a mailbox records like the
following appear in /var/log/dovecot.warn:
Jul 29 10:02:05 iris dovecot: lmtp(29320, jax at XXX.com): Error: file dict
commit:
file_dotlock_open(/var/vmail/XXX.com/jax/home/maildir/dovecot-quota)
failed: No such file or directory
Jul 29 10:02:05 iris dovecot: lmtp(29320, jax at XXX.com): Error: file dict
commit:
2006 Jun 25
3
select box''s
Hi,
I have this code for a select box,
<%= select("plugin", "plugcats", Plugcats.find_all.collect {|p| [
p.title, p.id ] }, { :include_blank => true }) %>
at the minute it extracts teh requried data, but submits the data as
params[''plugin''][''plugcats'']
how can I get it to submit it as
2009 Apr 14
2
routes with google maps API
Hi,
I''m using mapstraction with Google Maps api and I want to use routes.
As of now, mapstraction only supports mapquest API to do this, so can I
use the underlying googlemaps API to do this, while using mapstraction?
If yes, how?
Btw, mapquest route demo doesn''t work (Error: MQA is not defined /
Source File: http://mapstraction.com/mapstraction-js/mapstraction.js /
Line: 621)
2006 Apr 19
9
geolocation db?
I''m currently planning a social app in Rails that relies on being able to
see how far you are from everyone else.
It''s my intention to store rough geo-coordinates as part of the sign up
process. My intention is to capture their zipcode or postal code, and then
be able to query a webservice once for that data. It''s also possible that
there might be a database or even
1998 Sep 21
2
x filemanager
Hi there,
I've got two questions, and I'll list them in order of importance. (1) Is
there a way, or is there any research/development going into unearthing a way,
to mount a samba filesystem like any other filesystem under UNIX?
And (2), does anyone know of a good X filemanager? What I would really
like to do is be able to mount a Samba directory or resource and treat
it like any
2003 Aug 20
1
Asterisk introductory talk: Portland, OR USA
For those of you that are in the Portland, Oregon area:
I am giving a talk today on Asterisk at the PLUG Advanced Topics
Meeting. Details below.
JT
>From: "Zot O'Connor" <zot@whiteknighthackers.com>
>To: PLUG LIST <plug@lists.pdxlinux.org>,
> PLUG Announcement List <plug-announce@pdxLinux.org>
>Organization: White Knight Hacklers
>Subject:
2006 Nov 29
5
AR, find(:all), loops and memory usage
I''m a beginning programming using ActiveRecord outside of Rails to do
conditional processing of database records. So far, I''ve been
successful. However, my script loads all matching records into memory
first. There are hundreds of thousands of matching records so the
script quickly consumes over 500MB of RAM before any processing is
done. Is there a way to avoid this preloading
2006 Jul 03
7
form_remote_tag with multipart/form-data
Does form_remote_tag supports multipart/form-data ?
My form looks like this:
<%= form_remote_tag :url => { :action => ''do_image_upload'' },
:html => { :enctype => ''multipart/form-data'' } %>
<%= file_field ''image'', ''file_data'', :size => 32 %>
<%= submit_tag
2006 Jul 18
1
Need Help Updating Records
This is a stupid question I know, but it is driving me crazy - I am
missing something simple and basic here. I am trying to update missing
zip codes on a data table. I am doing something incorrectly as the data
in the Source table is not being updated, only the value in the array is
changed. How do I get this to update the actual DB record instead?
def add_missing_zips
#find all records in
2006 Sep 01
1
Reverse Geocoding?
Howdy folks,
I know a lot of people (Google, Yahoo, others) offer geocoding, I am looking
for a Web service for reverse geocoding.
For instance, I have a latitude and longitude and I would like to get an
approximate street address for them.
I haven''t found anything that''s working all that well for me so I thought I
would ask here.
Any ideas?
Thanks,
H