Sep 11 2007

Our Rails Rumble project

dastels @ 11:56 am

Voting starts Wed, Oct 12

There are loads of cool applications.. go check them out and place your vote.

Our application is here. It’s not the typical Rails application. Be sure to have a look at the manual first.

Tags: 

Sep 10 2007

Rails Rumble project reports

dastels @ 10:18 pm

The stats for our project:

+----------------------+-------+-------+---------+---------+-----+-------+
| Name                 | Lines |   LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers          |    70 |    55 |       2 |       6 |   3 |     7 |
| Helpers              |     6 |     4 |       0 |       0 |   0 |     0 |
| Models               |   891 |   734 |      13 |     110 |   8 |     4 |
| Libraries            |     0 |     0 |       0 |       0 |   0 |     0 |
| Model specs          |  2283 |  1835 |       0 |       0 |   0 |     0 |
| View specs           |     0 |     0 |       0 |       0 |   0 |     0 |
| Controller specs     |     0 |     0 |       0 |       0 |   0 |     0 |
| Helper specs         |     0 |     0 |       0 |       0 |   0 |     0 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total                |  3250 |  2628 |      15 |     116 |   7 |    20 |
+----------------------+-------+-------+---------+---------+-----+-------+
  Code LOC: 793     Test LOC: 1835     Code to Test Ratio: 1:2.3

A few things to notice:

  • very “rails” light… small controller… very literally a controller.. all the action happens in the models,
  • all the specs are for model classes, the controller & view do very little.. although the controller could probably do with a few specs, and
  • there’s over twice as much code in the specs than in the working classes.

The spec run:

$rake spec
(in /Users/dastels/Projects/Ruby-Projects/merlin/trunk)
..........................................................................
..........................................................................
..........................................................................
........................................................
Finished in 62.891545 seconds
278 examples, 0 failures

and the coverage report:

SafariScreenSnapz001.png
Note that echo was under development and actually didn’t get finished in time. Also we ran out of time before getting to mindbender.
Tags: 

Sep 10 2007

A hell of a way to spend a weekend

dastels @ 8:11 pm

Rails Rumble ‘07 is over.

It was a total good time.We didn’t get as much done on our app as we had hoped, but what we got done turned out as well as we could have hoped.I was on the IRC channel the whole time pretty much, which provided a nice sideline. The whole thing had a strong co-opatition feel. There was a great group of people involved.

A big THANK YOU to the sponsors, the organisers, the other teams, and mostly to my teammate, Nancy.

We ran into some interesting technical issues in the course of the 48 hours, which I’ll be writing about over the next few days.For those interested, or just with voyeristic tendancies (ain’t the web great), there’s a flickr pool, and I’ve posted some pics in my .mac gallery.

Tags: 

Sep 08 2007

Rumbling away

dastels @ 9:37 pm

We’re nearing the half way point of the Rails Rumble.. 1 day, 2 hours, 24 minutes remaining as I write this. We’ve been taking some photos that I’ve been posting at my .Mac web gallery.

Tags: 

Sep 07 2007

Rails Rumble is this weekend

dastels @ 1:36 pm

We’re getting prepped for the Rails Rumble. Nancy & I have entered as a team. The kids have been told they’re on their own for the weekend. This is going to be a great bit of fun.

Tags: 

Aug 15 2007

Rails Rumble

dastels @ 12:05 am
railsrumble_black_160.png

The 2007 48 hour Rails coding competition has been announced. Check it out. Now we just need a good application idea.

Tags: