Hi Ignacio, I think I better started from scratch debugging this. I created a demo app which is nothing more than a model :dummy<https://github.com/haslinger/autocomplete-has_many-demo/blob/master/app/models/dummy.rb>which has_many : relations<https://github.com/haslinger/autocomplete-has_many-demo/blob/master/app/models/relation.rb>to :related_dummies, which are actually dummies themselves. I extendended the form-tag in application.dryml<https://github.com/haslinger/autocomplete-has_many-demo/blob/master/app/views/taglibs/application.dryml> . I tried to keep the dependencies aka Gemfile<https://github.com/haslinger/autocomplete-has_many-demo/blob/master/Gemfile>lean and standard. The two gems pg and raiils12factor I needed for Heroku-deployment to have a working live Demo <http://autocomplete-has-many-demo.herokuapp.com/>. I disabled authorization for the interesting models, so please visit the edit view of my first dummy instance<http://autocomplete-has-many-demo.herokuapp.com/dummies/1-first-dummy/edit> to see for yourself:
- The bug is still there (autocomplete only works on old instances). - Meanwhile I found a second bug: If you press enter after you enter data (of take it from the autocomplete drop down) the field gets deleted all together. As announced in the last post I also tried my luck updating JQuery to the current version. This didn't help so I didn't deploy it here and the app is using nothing besides what is provided in the gems. Now I have no clue where to go from here. Please kick me in any direction, as this is a pure demo app, I can modify it in any way easily. Warm regards, Stefan -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/hobousers. For more options, visit https://groups.google.com/groups/opt_out.
