OSDN Git Service

rollback to yaml
authorrandx <dmitriy.zaporozhets@gmail.com>
Tue, 3 Apr 2012 23:59:58 +0000 (02:59 +0300)
committerrandx <dmitriy.zaporozhets@gmail.com>
Tue, 3 Apr 2012 23:59:58 +0000 (02:59 +0300)
app/models/event.rb
app/models/merge_request.rb

index b7748ce..cf8dc15 100644 (file)
@@ -105,14 +105,6 @@ class Event < ActiveRecord::Base
   delegate :name, :email, :to => :author, :prefix => true, :allow_nil => true
   delegate :title, :to => :issue, :prefix => true, :allow_nil => true
   delegate :title, :to => :merge_request, :prefix => true, :allow_nil => true
-
-  def load obj 
-    Marshal.load obj
-  end
-
-  def dump obj 
-    Marshal.dump obj
-  end
 end
 # == Schema Information
 #
index 6ee9b88..edf073d 100644 (file)
@@ -144,14 +144,6 @@ class MergeRequest < ActiveRecord::Base
       :author_id => user_id
     )
   end
-
-  def load obj 
-    Marshal.load obj
-  end
-
-  def dump obj 
-    Marshal.dump obj
-  end
 end
 # == Schema Information
 #