Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Updated #1

merged 2 commits into from

2 participants

Chase Pursley Kristian Mandrup
Chase Pursley

Just fixed the links, made some comments about other necessary gems as well as init in coffeescript. First pull request ever, so here goes.

When I fully understand coffeescript, I'll try converting the main .js file. : )

cpursley added some commits
Chase Pursley cpursley Update
Fixed links and added init coffeescript.
Chase Pursley cpursley Update a8defbb
Kristian Mandrup kristianmandrup merged commit bc7dfdc into from
Kristian Mandrup

Thanks :) Yeah, the js code could use some improvements...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 3, 2013
  1. Chase Pursley


    cpursley authored
    Fixed links and added init coffeescript.
  2. Chase Pursley


    cpursley authored
This page is out of date. Refresh to see the latest.
Showing with 21 additions and 4 deletions.
  1. +21 −4
@@ -2,21 +2,27 @@
Extracted from [gmaps-autocomplete]( and improved markedly and then packaged for use with Rails as an asset gem :)
-See it in action here: [](
+See it in action here: [](
-Some more explanation here: [](/[
+Some more explanation here: [](
## Install
-`gem 'gmaps-autocomplete-rails'
+gem 'gmaps-autocomplete-rails'
-And run `bundle`;)
+You will also need:
+* gem 'jquery-rails'
+* gem 'jquery-ui-rails'
+And run `bundle install`;)
Packed and ready for use with the Asset pipeline :)
Add to javascript manifest file, fx `application.js`
+//= require jquery_ujs
+//= require jquery.ui.all
//= require gmaps-autocomplete
@@ -35,12 +41,23 @@ Note also that the autocomplete script depends on jQuery 1.6+.
## Initialize
$(document).ready(function() {
+or coffeescript
+$ ->
+ GmapsAutoComplete.init()
+ GmapsAutoComplete.autoCompleteInit()
### Configuration options
Something went wrong with that request. Please try again.