search for: homepages_path

Displaying 1 result from an estimated 1 matches for "homepages_path".

2010 Oct 25
2
form_tag with remote=>true Error during failsafe response:
I am trying to find out why form_tag with remote => true is not sending an ajax response and only sending HTML. I have started a basic Rails App with two pages and am following the Railscast 205 UJS example. Every time I include:- <%= form_tag homepages_path, :method => ''get'', remote => true do %> I get from the server(WEBrick):- (Ruby 1.9.2 and Rails 3) A 500 Internal server error Rendered homepages/index.html.erb within layouts/application (34.6ms) Completed in 52ms Error during failsafe response: incompatible encoding r...