WebFaction
Community site: login faq

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
115
accept rate: 0%


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?

permanent link

answered 30 Nov '14, 14:51

fruityfree
2116
accept rate: 50%

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
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×28
×8

question asked: 30 Nov '14, 01:28

question was seen: 888 times

last updated: 07 Dec '14, 07:26

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM