Displaying 1 result from an estimated 1 matches for "problem_help".
Did you mean:
problem_helper
2007 Jan 21
0
Safari doesn't pass the headers.
...reference. The test case is the next:
/app/controllers/problem_controller.rb
class ProblemController < ApplicationController
def index
render :action => ''index''
end
def myrequest
render(:update) {|page| page.updateContent(params[:content])}
end
end
/app/controllers/problem_helper.rb
module ProblemHelper
def updateContent(content)
page.replace_html ''content'', content
end
end
/app/views/problem/index.rhtml
<html>
<head>
<%= javascript_include_tag :defaults %>
<script language="javascript" type="text/javascript&...