You should have an accessor , try  : geo_planet_object.woe_id .

You can use introspection with : 
geo_planet_object.instance_variable_get(:woe_id) ....
-- 
Posted via http://www.ruby-forum.com/.