Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix scaffolding template paths (Pathname does weird things on Win32)

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1375 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 46e68538c08d751554b2c6f512659993ef62c218 1 parent 19da52d
@bitserf bitserf authored
View
2  actionwebservice/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Fix scaffolding template paths, it was broken on Win32
+
* Fix that functional testing of :layered controllers failed when using the SOAP protocol
* Allow invocation filters in :direct controllers as well, as they have access to more information regarding the web service request than ActionPack filters
View
18 actionwebservice/TODO
@@ -1,6 +1,24 @@
= Post-1.0
+ - Document/Literal SOAP support
+ - URL-based dispatching, URL identifies method
+
- Add :rest dispatching mode, a.l.a. Backpack API. Clean up dispatching
in general. Support vanilla XML-format as a "Rails" protocol?
+ XML::Simple deserialization into params?
+
+ web_service_dispatching_mode :rest
+
+ def method1(params)
+ end
+
+ def method2(params)
+ end
+
+
+ /ws/method1
+ <xml>
+ /ws/method2
+ <yaml>
- Allow locking down a controller to only accept messages for a particular
protocol. This will allow us to generate fully conformant error messages
View
2  actionwebservice/lib/action_web_service/scaffolding.rb
@@ -117,7 +117,7 @@ def render_invocation_scaffold(action)
end
def scaffold_path(template_name)
- Pathname.new(File.dirname(__FILE__) + "/templates/scaffolds/" + template_name + ".rhtml").realpath.to_s
+ File.dirname(__FILE__) + "/templates/scaffolds/" + template_name + ".rhtml"
end
def reset_invocation_response
Please sign in to comment.
Something went wrong with that request. Please try again.