Start on slug prefixes with first test.
Push more prefix scenarios.
More test scenarios around creating a record.
Apply the prefix before the duplicate slugs checks are done.
Prevent the prefix from being applied over and over.
Check that the prefix is still applied when the name matches the prefix.
Do not add a prefix when the slug is set elsewhere.
Refactor.
Remove the need for a variable.
Continuing to massage the code.
Better explanation of how the slug is built.
Extract a method.
Flatten the code a bit more.
Extract a module for the slugging operations.