Displaying 2 results from an estimated 2 matches for "foobarcontroller".
Did you mean:
foobar_controller
2006 Jan 14
1
BUG: HTTP body content get parsed in PUT call
...UT in Rails seems to be broken in query params
parsing. I have a patch to fix the problem, but I''m not sure if it is
the "right" solution. Can some Rails developers take a quick look? I
can really use some help. :-)
Here is the evident of broken param parsing.
Processing FoobarController#put_action (for 127.0.0.1 at 2006-01-13
23:12:54)
Parameters: {"action"=>"put_action", "key1"=>"value1",
"controller"=>"foobar", "Hello, I am a test upload via PUT.\n"=>""}
The content of the PUT-call...
2006 May 07
0
caches_action and render_component
...nd
end
class BarController < ActionController::Base
def bar
render :inline => <<-EOS
Hello, bar <br />
<%= render_component(:controller => ''foo'', :action => ''foo'', :id
=> params[:id]) %>
EOS
end
end
class FooBarController < ActionController::Base
def foo_bar
render :inline => <<-EOS
Hello, bar <br />
<%= render_component(:controller => ''foo'', :action => ''foo'', :id
=> params[:id]) %>
EOS
end
end
----------------- END CODE ---...