Check ActiveModel's version instead of ActiveRecord.