diff options
author | Leon Breedt <bitserf@gmail.com> | 2005-04-03 00:12:11 +0000 |
---|---|---|
committer | Leon Breedt <bitserf@gmail.com> | 2005-04-03 00:12:11 +0000 |
commit | fcfe3febd3cbf535dbd4ae47563b4876f7a42239 (patch) | |
tree | 70d71cad02dc40832a3c0fb5be005edad40a412b /actionwebservice/lib/action_web_service/api | |
parent | 353497458b460d03114905e001f782c6f0b463fa (diff) | |
download | rails-fcfe3febd3cbf535dbd4ae47563b4876f7a42239.tar.gz rails-fcfe3febd3cbf535dbd4ae47563b4876f7a42239.tar.bz2 rails-fcfe3febd3cbf535dbd4ae47563b4876f7a42239.zip |
allow selecting the protocol to use when invoking the
scaffolded method. fix bug in walking delegated container
services.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/lib/action_web_service/api')
-rw-r--r-- | actionwebservice/lib/action_web_service/api/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionwebservice/lib/action_web_service/api/base.rb b/actionwebservice/lib/action_web_service/api/base.rb index c9fb9f967f..4548856d86 100644 --- a/actionwebservice/lib/action_web_service/api/base.rb +++ b/actionwebservice/lib/action_web_service/api/base.rb @@ -195,7 +195,7 @@ module ActionWebService # :nodoc: private def friendly_param(type, show_name=true) name = type.name.to_s - type_type = type.type.to_s + type_type = type.array?? type.element_type.type.to_s : type.type.to_s str = type.array?? (type_type + '[]') : type_type show_name ? (str + " " + name) : str end |