You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2010/08/23 08:43:25 UTC

svn commit: r988002 - /incubator/deltacloud/trunk/server/lib/deltacloud/models/base_model.rb

Author: mfojtik
Date: Mon Aug 23 06:43:25 2010
New Revision: 988002

URL: http://svn.apache.org/viewvc?rev=988002&view=rev
Log:
Fixing JSON issue with to_json().

Modified:
    incubator/deltacloud/trunk/server/lib/deltacloud/models/base_model.rb

Modified: incubator/deltacloud/trunk/server/lib/deltacloud/models/base_model.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/models/base_model.rb?rev=988002&r1=988001&r2=988002&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/lib/deltacloud/models/base_model.rb (original)
+++ incubator/deltacloud/trunk/server/lib/deltacloud/models/base_model.rb Mon Aug 23 06:43:25 2010
@@ -52,8 +52,8 @@ class BaseModel
     out
   end
 
-  def to_json
-    self.to_hash.to_json
+  def to_json(*a)
+    self.to_hash.to_json(*a)
   end
 
 end