The same way we did for Active Record, but this time we do it for models not inheriting fom Active Record.