Make tests pass with ActiveRecord 3
Use String#constantize instead of Object.const_get
Merge pull request #10 from mirego/fix/make-tests-pass-ar-3

Make tests pass with ActiveRecord 3