Check for ActiveRecord 4 in model_scope.

Classes respond to load, making it an invalid check for the new Rails
4-style scopes. Just use the major version instead.