Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gem not working with latest gem versions #21

Open
Startouf opened this issue Oct 24, 2016 · 5 comments
Open

Gem not working with latest gem versions #21

Startouf opened this issue Oct 24, 2016 · 5 comments

Comments

@Startouf
Copy link

After a gem update through bundle update, the autocomplete stopped working. I have upgraded from 0.1.4 to 2.0.0

Any upgrade guide available ? The homepage only mentions the 1.2.0 -> 1.3.0 migration.

I don't have any error in the JS (I believe) but the <ul> tag with autocomplete results doesn't get populated

JS debug output

called with opts Object { inputField="#company_employee_meeting_place",  pos=[2],  errorField="#company_employee_meeting_place_errors",  more...}
gmaps-a...d415.js (line 120)
final completerAssist undefined
gmaps-a...d415.js (line 120)
defaultOptions Object { mapElem="#gmaps-canvas",  zoomLevel=2,  mapType="roadmap",  more...}
gmaps-a...d415.js (line 120)
options after merge with defaults Object { mapElem="#map",  zoomLevel=14,  mapType="roadmap",  more...}
gmaps-a...d415.js (line 120)
lat,lng (44.620909, 4.389862999999991) { lat=function(),  lng=function(),  toString=function(),  more...}
gmaps-a...d415.js (line 120)
map options Object { zoom=14,  center=(44.620909, 4.389862999999991),  mapTypeId="roadmap",  more...}
gmaps-a...d415.js (line 120)
mapElem <div id="map" class="col-xs-8">
gmaps-a...d415.js (line 120)
region undefined
@kristianmandrup
Copy link
Owner

I recommend rewriting the gem from scratch reusing parts that make sense in modern dev environment...

@kristianmandrup
Copy link
Owner

I haven't been on Rails since around 2012-13. So someone else please continue this gem ;)

@kristianmandrup
Copy link
Owner

Why anyone would use Rails to render views and use the asset pipeline in 2015+ is beyond me tbh.
So many better alternatives... Try Vue2 ;)

@Startouf
Copy link
Author

The 2.0 commits afre from around 2 months ago. It's not that long.

@kristianmandrup
Copy link
Owner

Must have been some PR I merged from someone else, I don't anything about Rails changes since 4.0 came out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants