Permalink
Browse files

remove ActiveRecordSoapMarshallable, can't reproduce the problem it w…

…as intended to fix.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1043 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent cfef86c commit 0f198eb58ece74409827f3d4a739e49a1a0ecab5 @leonbreedt leonbreedt committed Mar 31, 2005
@@ -1,5 +1,7 @@
*0.7.0* (Unreleased)
+* Remove ActiveRecordSoapMarshallable workaround, see #912 for details
+
* Add scaffolding via ActionController::Base.web_service_scaffold for quick testing using a web browser
* Generalize casting code to be used by both SOAP and XML-RPC (previously, it was only XML-RPC)
@@ -279,19 +279,5 @@ def soap2obj(obj_class, node, info, map)
return false
end
end
-
- module ActiveRecordSoapMarshallable
- def allocate
- obj = super
- attrs = {}
- self.columns.each{|c| attrs[c.name.to_s] = c.default}
- obj.instance_variable_set('@attributes', attrs)
- obj
- end
- end
-
- if Object.const_defined?('ActiveRecord')
- ActiveRecord::Base.extend(ActiveRecordSoapMarshallable)
- end
end
end

0 comments on commit 0f198eb

Please sign in to comment.