Given:
class A
property :name, String
def initialize n
@name = n
end
end
class B
property :name, String
has_many :as, A
end
b = B.new
b.add_a(A.new "a1")
b.add_a(A.new "a2")
B.new.as.each {|a| puts a.name}
#=> I see nothing. Should I see a1, a2?