Ezra Z. wrote:
g = obj.find(1)
puts “#{g[:id]} | #{g.name}”
g.flowers.each do |f|
puts “#{f[:if]} | #{f[:id]} | #{f.name}”
endSo by using arinstance[:id] instead of arinstance.id
you will avoid this problem all together.
Hey thanks a lot Erza, it works great!
I have one more question if you don’t mind… Now that I can get
ActiveRecords through Drb, I intend to use them in order to populate FOX
widgets on a fat client, and send the changes back to the server when
the user decides to apply the changes.
Do you think performances will be OK for a relatively complex GUI,
through a low-bandwith network? Does a DrbUndumped ActiveRecord object
generate a lot of round-trips when reading and writing the data in the
object?