Update

Posted by Tom on 2007-04-17

You may have noticed I’ve been a little quiet of late—both on the blog and the forums. It’s end-of-project syndrome. We’re just coming to the end of the final delivery in the first major client project built on top of Hobo. Deadlines are hard work!

Here’s a bit of an update about what’s been going on with Hobo recently.

First-up, Hobo 0.5.2 is due to go out. I’ll make a commitment, because I’ve found that’s a good way to ensure it actually happens - I’ll get 0.5.2 out by the end of this week. In this version are a bunch of fixes as always, the new mechanism to customise controller behaviour, and a nice extension to ActiveRecord which came out the recent stuff on scope_out.

If you followed the comments on that post you probably saw the link to neotrivium from kaspar (thanks!). A very nice development of the ideas in scope_out but lacking some scope_out features such as cacheing of scoped associations. All this inspired me to see if I could take the idea a bit further, and you can see how I got on in Hobo 0.5.2. By way of a sneak preview you can do:

Post.comments.published

And get back a full AR association proxy, which you can either treat as an array, or use to do further finding, counting etc. All this for the bargain price of:

def_scope :published, :conditions => "published = 1"

In the Comments class. You can also do things like:

Comments.published.find(...)
Comments.published.boring.count

Handy! (the SQL fragment to identify a boring comment is left as an exercise for the reader)

Let’s see, what else..?

I’m waaay behind on the forums, so a big apology to anyone who’s looking for help and hasn’t yet received any. I’ll get there :-)

On the subject of community - I was very happily surprised to get this mail yesterday:

Hey Tom,
We started a #hobo channel on freenode for hobo users. Please come visit us irc.freenode.net #hobo and help support your freenode hobo community users :) We are supporting eachother right now and would like to see you come through. 
UncleD @ http://rubyonrailsblog.com

Awesome! I’m afraid to say I haven’t shown my face as yet (did I mention I’ve had a deadline on?) I definitely will stop by from time to time, but I must warn you I’m not a great IRCer.

And saving the best news for last–a little tentative at this stage, but potentially a big deal. We at HoboTech are close to making our first hire. I’m REALLY looking forward to the prospect of NOT BEING RUN COMPLETELY OFF MY FEET ALL DAY EVERY DAY!!! Sorry just venting some frustration :-) If this works out it’s going to have a big impact on the time I have to focus on the many aspects of Hobo (documentation!), so cross your fingers.

Catch you again later this week with the “0.5.2 Released” post :-)



(edit)