God Damnit.

Posted by Matt on August 20, 2007

Seems as though TextMate eats your blog posts if you attempt to re-publish a post. It seems to take the posting id of the previous post; each time publishing taking the id of the previous post to the current one.

I think I might have something…

Posted by Matt on August 20, 2007

So it seems as though I can do something like this in Ruby:

 
  def list  
    @objects = Hash.new  
    Object.find(:all).each { |r|  
      status = “Open”  
      @objects[r.id] = {
          “ID”            => r.id,
          “Name”          => r.name,
          “Author”        => r.user.name,
          “Status”        => status,
          “Date Created”  => r.created,
          “Last Activity” => r.modified
        }  
    }  
  end  <br />
 

That kind of mimics what I’m doing in CakePHP with multidimensional arrays.