def load_object(obj)
        class_sym = obj.class.name.to_sym
        self[class_sym] = obj if @column_keys.include?(class_sym)
        @column_keys.each do |k|
          begin
          self[k] = obj.send(k) if obj.respond_to?(k.to_s)
          rescue
          end
        end
        keys = @column_keys.inject([]) { |ar, e| ar << e.to_s }
        matches = obj.attributes.keys & keys if obj.attributes.is_a? Hash
        matches.each do |field| 
          begin
          self[field.to_sym] = obj.attributes[field] 
          rescue
          end
        end 
        obj.instance_variables.each do |name|
          self[name] = instance_variable_get(name) if @column_keys.include?(name) 
        end
      end
def load_object(obj)
        class_sym = obj.class.name.to_sym
        self[class_sym] = obj if @column_keys.include?(class_sym)
        @column_keys.each do |k|
          begin
          self[k] = obj.send(k) if obj.respond_to?(k.to_s)
          rescue
          end
        end
        keys = @column_keys.inject([]) { |ar, e| ar << e.to_s }
        matches = obj.attributes.keys & keys if obj.attributes.is_a? Hash
        matches.each do |field| 
          begin
          self[field.to_sym] = obj.attributes[field] 
          rescue
          end
        end 
        obj.instance_variables.each do |name|
          self[name] = instance_variable_get(name) if @column_keys.include?(name) 
        end
      end
This will load the values of any object into the iter.  It will look at all the
  instance variables, methods, and ActiveRecord fields and match them to
  columns in a VR::ListView or VR::TreeView.  For example, if your object
  has an instance variable, @name, this will fill in a column with the symbol :name.

   class MyClass
     @name = "Henry"
   end

   @view = VR::ListView.new(:name => String)
   my = MyClass.new
   row = @view.add_row()
   row.load_object(my)  # assigns "Henry" to first cell


  -obj--any ruby object or object subclassed from ActiveRecord::Base.