What are ActiveRecord scopes? How do they differ from class methods, and what about `default_scope`?

Topic: rails, ActiveRecord. Level: Intermediate.

The full answer to this question is available to Interview Reader members. See what is free and what Premium adds.