fixed. this had nothing to do with rails 3.2.13 or so. The problem was tokeninput was making a crossDomain request from within a subdomain towards a path without a subdomain, logically. I should have noticed. All I needed to do was to send the json response together with the callback. Should have done more research on this topic. Sorry
this is inexplicable to me. if I make the exact same requests in the console (even with the 2 strange parameters), everything works fine and I get the results. However, in the token form the results aren't displayed. This normally should mean that the tokeninput itself is the problem, however, it is an exact copy of a different app where it works just fine.
edit: might the usage of subdomains be the problem?
the form is within a subdomain blogs, I make the call to /tags.json that doesn't have a subdomain in front of it.
after upgrading from rails 3.2 to 3.2.13 tokeninput doesn't get the results anymore. Something doesn't work. The only clue I have are these 2 parameters that weren't sent in 3.2: /tags.json?callback=jQuery191040979262322760657_1364525075625&q=books&_=1364525075627
All the logic in controller and model works fine. The request goes through, but then the results aren't submitted back to tokeninput. Does anybody experience similar things in 3.2.13??
hm, for me using pg in production everything worked fine so far with tags = where("name ILIKE ?", "%#{query}%"). The problem thus seems to be somewhere else in your app i guess.
Unfortunately it seems to be impossible to set up Sunspot and Solr on Windows. Running rake sunspot:solr:run works fine, however, when trying to reindex or if on server development mode and perform the search method, you get the exception "No connection could be made because the target machine actively refused it. - connect(2)". I installed sunspot_rails and sunspot_solr today, so it should be the latest versions. Updated java as well today to 1.7.0_05. Now, here some people get it working by changing line 104 in server.rb from exec(Shellwords.shelljoin(command)) to system(Shellwords.shelljoin(command)), but this doesn't work for me either. I don't really see any possible solution left to try. Does anybody have an idea how to get it work on windows 7?
fixed. this had nothing to do with rails 3.2.13 or so. The problem was tokeninput was making a crossDomain request from within a subdomain towards a path without a subdomain, logically. I should have noticed. All I needed to do was to send the json response together with the callback. Should have done more research on this topic. Sorry
this is inexplicable to me. if I make the exact same requests in the console (even with the 2 strange parameters), everything works fine and I get the results. However, in the token form the results aren't displayed. This normally should mean that the tokeninput itself is the problem, however, it is an exact copy of a different app where it works just fine.
edit: might the usage of subdomains be the problem?
the form is within a subdomain blogs, I make the call to /tags.json that doesn't have a subdomain in front of it.
i was able to find out that it's not rails 3.2.13 which causes the misfunctioning. still didn't find the real problem tho
after upgrading from rails 3.2 to 3.2.13 tokeninput doesn't get the results anymore. Something doesn't work. The only clue I have are these 2 parameters that weren't sent in 3.2:
/tags.json?callback=jQuery191040979262322760657_1364525075625&q=books&_=1364525075627
All the logic in controller and model works fine. The request goes through, but then the results aren't submitted back to tokeninput. Does anybody experience similar things in 3.2.13??
hm, for me using pg in production everything worked fine so far with tags = where("name ILIKE ?", "%#{query}%"). The problem thus seems to be somewhere else in your app i guess.
got it to work by downloading and manually installing the zip from github sunspot.
Unfortunately it seems to be impossible to set up Sunspot and Solr on Windows. Running rake sunspot:solr:run works fine, however, when trying to reindex or if on server development mode and perform the search method, you get the exception "No connection could be made because the target machine actively refused it. - connect(2)". I installed sunspot_rails and sunspot_solr today, so it should be the latest versions. Updated java as well today to 1.7.0_05. Now, here some people get it working by changing line 104 in server.rb from exec(Shellwords.shelljoin(command)) to system(Shellwords.shelljoin(command)), but this doesn't work for me either. I don't really see any possible solution left to try. Does anybody have an idea how to get it work on windows 7?