The Blog

Compiling assets during slug compilation on heroku cedar stack with rails 3.1

Trying to deploy a rails 3.1 app to heroku, I got the following error during slug compilation:

path/to/image.png isn’t precompiled

Precompiling assets failed, enabling runtime asset compilation

Turns out it is a rails 3.1.0 bug and upgrading rails to 3.1.1 (3.1.1.rc1 as of the time of this writing) solves the problem.

Don’t use windows for Ruby on Rails development

Starting a new task at a major company, I was given a PC running windows 7 (believe it or not, they never bothered to ask me for preferences) for developing an internal rails app.

I took the challenge – here’s my story.
Continue Reading →

Prototyping: Axure vs. Rails

In my quest to conquer the prototyping arena, I’ve met a tool called Axure a couple of times now. Since I want to do prototypes using my favorite tool, Ruby on Rails, I thought I’d better check out Axure to see what the competition is. Continue Reading →

Rails + jQuery request datatypes condensed

Recently I’ve noticed that the default behaviour for the jQuery UJS adapter has changed a couple of times.

This is my condensed take on getting ajax working smooth with jQuery UJS and Rails 3
Continue Reading →

Validate presence of at least one associated record

I’ve previously had the need to validate, that at least on record in a has_many association existed. For that I used a custom validator. But today i realized that the presence validator in rails 3 will do exactly that:
Continue Reading →

Bridging the gap: from prototype to development

windmills-header

Every project owner dreams of an approach with users and goals first. An approach where technology, requirements specifications and contracts are tools to support your business, not constrain it.

But too often, the opposite is the case. Users and goals are constrained by technology, specifications, and contracts. This is depressingly true. But it doesn’t have to be this way. Just choose the right prototyping technique and gain benefits in the entire value chain. Continue Reading →

New York Bikers

NY-biker

While visiting New York last week, I managed to shoot a couple of the wonderful people riding bikes in the city…

View the full photo-set on flickr

Billeder fra Flensburg med Viktoria 2010

viktoria2010

Billederne ligger på mit picasa web album.

Se billeder fra turen til Flensborg

viktoria2009

Så er der billeder fra min sejltur til Flensborg, hvor vi deltog i årets rom-regatta. Billederne ligger på Viktorialaugets picasa album.

Se også Viktorialaugets hjemmeside.

Kulingræs med Viktoria