fakebug.js
So, we all use and love Firebug. It makes developing and debugging Web Applications and especially JavaScript so much easier. Most of our JavaScript files contain at some point a console.log call.
The stupid thing is when you forget to remove that debug statement the code breaks on all non-firebug browsers. Everything works fine on your browser but it just breaks on your client’s browser without firebug. ;)
To avoid that I’ve developed fakebug: fakebug adds a fake console functions if firebug is not available.
RailsCamp DOWNE, KENT, UK, AUG 2008
I’ve found some Istopmotion pictures from the RailsCamp near London in August:
Do you spot William Shatner?
(first time I did some video stuff… :)
DevHouse coming to Berlin
I was so excited when this message popped up in my feed reader: SuperHappyDevHouse is coming to Berlin.
The event is taking place December 6th & 7th, 2008
Upstream Berlin and all the Boxhagener 119 will open up their offices for a “fun-packed weekend of hacking”.
“SuperHappyDevHouse is a non-exclusive event intended for creative and curious people interested in technology. We’re about knowledge sharing, technology exploration, and ad-hoc collaboration. Come to have fun, build things, learn things, and meet new people. It’s called hacker culture, and we’re here to encourage it.”

We’ve organized a bit more conferency DevHouse last year here in Cologne, which was really, really awesome.
So if you have any chance to participate - do it!
[edge Rails] application.rb is now application_controller.rb
The file for the ApplicationController is now called /app/controllers/appliction_controller.rb - NO longer /app/controllers/application.rb
This is now in edge but I think it will not make it to the 2.2. release. (we will see this in 2.3)
Be careful because this change currently breaks backwards compatibility and you need to rename it on existing projects on your own.
[edge Rails] :only/:except options for map.resources
Today a nice option for the routes was commited to the Rails edge.
map.resources now allows the option :only and :except to specify which routes should be created. Both options accept :none, :all, one action name or an array of action names.
For example:
map.resources :user, :only => :create # GET /users fails # only POST /users is available map.resources :comments, :except => [:update, :destroy] # GET /comments etc. works # PUT /comments/1 fails # DELETE /comments/1 fails
If you have a lot of resources in your routes this allows you to cut memory consumption.
