[go: up one dir, main page]

Skip to content

Remove usages of Organizations::Organization.first

In some cases, we used Organizations::Organization.first as a replacement for the Default Organization.

This is basically a random organization and we need to derive this from something else

For each found usage (git grep 'Organizations::Organization.first'), there can be different solutions:

  • Derive from something else (for example, a User object or a project)
  • Current.organization (available in the request layer)
  • Something else

This issue can be closed if we don't have any usages of Organizations::Organization.first.

Edited by tim mccarthy