Move all serialization to marshall
This commit is contained in:
parent
11e4709fde
commit
82c8c42aee
3 changed files with 18 additions and 24 deletions
|
@ -144,6 +144,14 @@ 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
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue