Commit eb2c1cd2 authored by randx's avatar randx

rollback to yaml

parent 911ce0d3
...@@ -105,14 +105,6 @@ class Event < ActiveRecord::Base ...@@ -105,14 +105,6 @@ class Event < ActiveRecord::Base
delegate :name, :email, :to => :author, :prefix => true, :allow_nil => true delegate :name, :email, :to => :author, :prefix => true, :allow_nil => true
delegate :title, :to => :issue, :prefix => true, :allow_nil => true delegate :title, :to => :issue, :prefix => true, :allow_nil => true
delegate :title, :to => :merge_request, :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 end
# == Schema Information # == Schema Information
# #
......
...@@ -144,14 +144,6 @@ class MergeRequest < ActiveRecord::Base ...@@ -144,14 +144,6 @@ class MergeRequest < ActiveRecord::Base
:author_id => user_id :author_id => user_id
) )
end end
def load obj
Marshal.load obj
end
def dump obj
Marshal.dump obj
end
end end
# == Schema Information # == Schema Information
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment