I've got a very small app that uses ajax for a live preview. On my development machine (using sqlite3), it works just fine. Here is a sample of the log with a known good query:
development.log ----------------------- Processing PostsController#get_results (for 127.0.0.1 at 2009-09-11 10:59:06) [POST] Parameters: {"authenticity_token"=>"SOME-CODE-HERE=", "search_text"=>"?", "_"=>""} [4;36;1mPost Load (0.0ms) [0m [0;1mSELECT * FROM "posts" WHERE ((LOWER(question || answer) LIKE '%?%')) [0m Rendered posts/_search (15.0ms) Completed in 15ms (View: 15, DB: 0) | 200 OK [http://localhost/posts/ get_results] But on my server (using MySQL), it doesn't produce a result. My gems and my application are frozen to Rails 2.3.4. The database is running and working, as I am able to view entires using GET queries. But live preview isn't working, and there isn't any SQL queries in the production log: production.log -------------------- Processing PostsController#get_results (for 555.555.55.55 at 2009-09-11 11:23:38) [POST] Parameters: {"authenticity_token"=>"SOME-CODE-HERE=", "search_text"=>"fire", "_"=>""} Completed in 5ms (View: 0, DB: 0) | 200 OK [http://example.com/faq/ posts/get_results] Processing Any idea what is going on here? Thanx in advance, Eric --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---