search for: simpleactionpackrequest

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

2005 Apr 21
0
Uninitialized constant in 0.12.1?
...g other things as well, such as in ./script/generate. This is after upgrading from 0.11... I uninstalled all rails-related gems, updated rubygems itself to the latest version, and did a clean install of 0.12.1 with the same result. abstract.rb line 71 has the following definition: class SimpleActionPackRequest < ActionController::AbstractRequest # :nodoc: Any ideas? I''m running ruby 1.8.2 and rubygems 0.8.10. Where is this coming from? I''m using the latest from all dependency gems: actionmailer-0.9.1 activesupport-1.0.4 rails-0.12.1 actionpack-1.8.1 fcgi-0.8.5...
2007 Jun 06
0
ActionWebService API ignoring multiple return values?
...:valid => :boolean}, {:error_message => :string}]) if I implement this method as follows: def validate(id, value) return true, ''no error'' end I get the following error when I try to invoke it: undefined method `remote_addr'' for #<ActionWebService::Protocol::SimpleActionPackRequest:0x34bdd60> It seems to be expecting only one return value, with type boolean. When I look at the AWS code, it seems to be written this way (this is lines 36-39 in casting.rb for AWS 1.2.3): def cast_returns(api_method, return_value) # :nodoc: return nil if api_method.returns.nil? cast(ret...