Ruby 1.8/Active Record 2 compatible