I'm working in Ruby on Rails app in Webfaction. There are some filters in the web so the user can select the features of a product. I use Ajax to update the results without reload the web. It works on localhost but not on WebFaction. How can I solve this? Thanks! asked 30 Nov '14, 01:28 Sito13 |
Just wild guesses - have your assets compiled normally? (Can you reach direcrly the js file in browser) Also, it could be caused by csrf protection, try to switch it. What do net profiller and logs say? answered 30 Nov '14, 14:51 fruityfree Thanks fruityfree for your guesses. The log says nothing, it is like it doesn't receive info from web filters. I think assets compiled normally, because other filters ("order by") works right. But others than "order by" only works in localhost and not in the server. I have csrf protection, how do you suggest to switch it? Removing it? Thanks again!!
(07 Dec '14, 03:01)
Sito13
|