aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/lib/action_web_service/struct.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-03-26 21:26:13 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-03-26 21:26:13 +0000
commitc4f1979db5b69f85b1e51bfa9a3e119bc71a4e24 (patch)
tree9ca497d7946eeb2884ec29474198c1ad6799f2e3 /actionwebservice/lib/action_web_service/struct.rb
parent77c8e3a0fd32e736575edce503b2e9f891193f9e (diff)
downloadrails-c4f1979db5b69f85b1e51bfa9a3e119bc71a4e24.tar.gz
rails-c4f1979db5b69f85b1e51bfa9a3e119bc71a4e24.tar.bz2
rails-c4f1979db5b69f85b1e51bfa9a3e119bc71a4e24.zip
Make ActiveWebService::Struct type reloadable. Fix scaffolding action when one of the members of a structural type has date or time type. Remove extra index hash when generating scaffold html for parameters of structural type (closes #4374) [joe@mjg2.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/lib/action_web_service/struct.rb')
-rw-r--r--actionwebservice/lib/action_web_service/struct.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/actionwebservice/lib/action_web_service/struct.rb b/actionwebservice/lib/action_web_service/struct.rb
index 536207aa95..d065dae03b 100644
--- a/actionwebservice/lib/action_web_service/struct.rb
+++ b/actionwebservice/lib/action_web_service/struct.rb
@@ -19,6 +19,9 @@ module ActionWebService
# Active Record model classes are already implicitly supported in method
# signatures.
class Struct
+ # Action WebService Struct subclasses should be reloaded by the dispatcher in Rails
+ # when Dependencies.mechanism = :load.
+ include Reloadable::Subclasses
# If a Hash is given as argument to an ActionWebService::Struct constructor,
# it can contain initial values for the structure member.