When refactoring a Rails model, analyze the file and extract code into the appropriate pattern based on what the code does. The model itself should only contain associations, enums, basic validations,
plugins/lisa-rails/skills/active-record-model-best-practices/SKILL.md(main)