This is outdateded. We want to be compatible with the rails3 branch now.