search for: problemcontrol

Displaying 2 results from an estimated 2 matches for "problemcontrol".

2006 Apr 14
8
Error with Web Service tests after upgrading to Rails 1.1.2
...scaffolded a simple Web Services Controller: % ./script/generate web_service Problem my_method Running the test on this Controller, I get: % ruby test/functional/problem_api_test.rb Loaded suite test/functional/problem_api_test Started E Finished in 0.047129 seconds. 1) Error: test_my_method(ProblemControllerApiTest): NoMethodError: You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.length /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/test_invoke.rb:55:in `encode_rpc_call'&...
2007 Jan 21
0
Safari doesn't pass the headers.
When I try to update content through ajax It doesn''t work on Safari. I''ve opened a ticket http://dev.rubyonrails.org/ticket/7087 for full 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 '...