Restore previous behavior where ActiveRecord hooks are conditional
Restore previous behavior where ActiveRecord hooks are conditional

This commit reverts part of 9f18bb437cd8039aaa4d9f19f67544211205ace3

While Rails has included ActiveRecord since the very beginning, not
every Rails app uses ActiveRecord or even loads ActiveRecord. Some use
alternative databases entirely.

cucumber/cucumber-rails,cucumber/cucumber-rails,cucumber/cucumber-rails