sublimeguile things I find interesting

Posts Tagged hobo

Single Table Inheritance in Hobo

ActiveRecord used single table inheritance to store a heirachy of models in the same table, using a column called type to know what object to stick the data it as it comes back from the database. This is pretty cool, but… when you define your fields in a hobo model, it uses method_missing to […]


All DRYML, all the Time: Part 3 of the Hobo Tutorial

So here we are on part 3 of this ever-expanding Hobo tutorial. In the initial tutorial we covered installing hobo in our application and creating a few models. In the second tutorial we started building a forum are started to get a taste of what DRYML is and how that fits in. […]


Building a simple forum with hobo: a little look at DRYML

Well the last post I wrote about Hobo seems to be attracting a lot of attention. I’ve only started playing with Hobo recently so I’m not an expert by any remote stretch of the imagination. But since the core team is busy with the Real World at least till November before they can […]


Installing the DRYML Textmate Bundle

The discussion about the TextMate bundle for DRYML is from this forum post.

Last login: Tue Oct 2 14:55:44 on ttyp2
Welcome to Darwin!
combray-2:~ wschenk$ svn export http://www.opensvn.niko-dittmann.com/hobo_tmbundle/trunk/Hobo.tmbundle
A Hobo.tmbundle
A Hobo.tmbundle/Commands
svn: Can’t convert string from ‘UTF-8′ to native encoding:
svn: Hobo.tmbundle/Commands/insert close tag (?\226?\140?\152?\226?\140?\165_).tmCommand.tmp
combray-2:~ wschenk$

What the?!? Ohh.

combray-2:~ wschenk$ export LANG=en_US.UTF-8
combray-2:~ wschenk$ […]


Getting Started with Hobo

Get the latest gem:

combray:~/Development/rails wschenk$ sudo gem install hobo
Successfully installed hobo-0.6.2

Create your project. This takes a while, and checks out Rails Edge. I named mine linkster, just because. You should choose something else probably.

combray:~/Development/rails wschenk$ hobo linkster; cd linkster

Create your databases:

combray:~/Development/rails/linkster wschenk$ rake db:create:all

Generate the migrations file. Hobo looks inside of […]