Hello people. Today I've found a bug in my source code, been around for
a while until I realized of the problem, here is a bit of code which
represent it:

 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

 class A
  def initialize
   @var_a = 50
  end
 end

 class B
  attr_accessor :var_b
  def initialize(value)
   @var_b = value
  end
 end

 a = A.new
 b = B.new(a)

 #I 'marshal' both of the variables
 #Then close the app, open it and load again their state, so I expect
 #that the next snippet is true:

 p b.var_b.==(a)
 #=> false

 #They are differents objects and I don't need that.

 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

 So how do you think that I can resolve this problem? Been thinking for
a solution but I'm not sure about...
 I'll appreciate your help, thank you very much. Damin.