Add rails 2.3.x support kinda, absolutely not nice, but works