ianwhite/orm_adapter — pull request #13 by dxw (2012-05-01 11:03:29+00:00)
Title: Get rid of deprecation warning about activerecord

On Ubuntu (and probably in other places) a deprecation warning is generated if you require activerecord.

This update attempts to load active_record first, and then falls back to loading activerecord if that was unsuccessful. Before, it was the other way around.

Change tested and seems ok using Rails 3.2.0/Ruby 1.9.3 under Ubuntu 12.04.