Archive for the ‘general’ Category

Rails logged_in_user idiom

Tuesday, October 7th, 2008

I recently refactored another developer’s code to clean up some massive amounts of database pings to retrieve the current user object.

This post has moved to:
http://haxx.sinequanon.net/2008/10/rails-logged_in_user-idiom/

(more…)

Grails error.gsp security

Wednesday, October 1st, 2008

The default generated error.gsp view in Grails displays the stacktrace for any exceptions that occur.

This post has moved to:
http://haxx.sinequanon.net/2008/10/grails-errorgsp-security/

(more…)

Grails stacktrace.log

Tuesday, September 30th, 2008

Grails 1.0.x started creating a stacktrace.log file in the directory where the servlet container starts.

This post has moved to:
http://haxx.sinequanon.net/2008/09/grails-stacktracelog/

(more…)

Grails logging

Wednesday, September 24th, 2008

Short tips on showing Grails debug log messages.

This post has moved to:
http://haxx.sinequanon.net/2008/09/grails-logging/

(more…)

Grails testing

Tuesday, September 23rd, 2008

The Grails docs talk about testing and have some example test methods but fail to describe some simple but necessary mechanics to get it going.

This post has moved to:
http://haxx.sinequanon.net/2008/09/grails-testing/

(more…)

Grails .gitignore

Thursday, September 18th, 2008

.gitignore file for Grails.

This post has moved to:
http://haxx.sinequanon.net/2008/09/grails-gitignore/

(more…)

Fluxbox startup and shutdown script

Thursday, September 11th, 2008

The default Fluxbox startup file at ~/.fluxbox/startup is run by startfluxbox and has embedded comments describing how to add applications ("apps") to run before Fluxbox starts up.

This post has moved to:
http://haxx.sinequanon.net/2008/09/fluxbox-startup-and-shutdown-script/

(more…)