You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rails g migration add_geocoding_fields_to_user address longitude:float latitude:float
generate address for users
User.all.each {|u| u.update(address: "142 W Hasting Street")}
put the following to layout application
<scriptsrc="//maps.google.com/maps/api/js?v=3.18&sensor=false&client=&key=&libraries=geometry&language=&hl=®ion="></script><scriptsrc="//google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/2.0.14/src/markerclusterer_packed.js"></script><scriptsrc='//google-maps-utility-library-v3.googlecode.com/svn/tags/infobox/1.1.9/src/infobox_packed.js' type='text/javascript'></script><!-- only if you need custom infoboxes -->