From aaea48fe9826b9e5d2d5b92795a297b8f238c58d Mon Sep 17 00:00:00 2001 From: Leon Breedt Date: Sat, 2 Apr 2005 21:03:36 +0000 Subject: * collapse 'ws' back into protocols, it just added complexity and indirection, and was hard to extend. * extract casting into seperate support file * ensure casting always does the right thing for return values, should fix interoperability issues with Ecto and possibly other XML-RPC clients * add functional unit tests for scaffolding * represent signature items with classes instead of symbols/Class objects, much more flexible * tweak logging to always show casted versions of parameters and return values, if possible. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1072 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- .../lib/action_web_service/templates/scaffolds/parameters.rhtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml') diff --git a/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml b/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml index 0516738da6..e62d234c1a 100644 --- a/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml +++ b/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml @@ -5,10 +5,10 @@ <%= hidden_field_tag "method", @scaffold_method.public_name %> <% i = 0 %> -<% @scaffold_method.expects.each do |spec| %> +<% @scaffold_method.expects.each do |type| %>

-
- <%= method_parameter_input_fields(@scaffold_method, spec, i) %> +
+ <%= method_parameter_input_fields(@scaffold_method, type) %>

<% i += 1 %> <% end %> -- cgit v1.2.3