Executes the Ruby snippet in the context of the GitLab Rails application, with access to models such as User. This is the supported way to query or fix data that has no admin UI. Wrap multi-line scripts in a file and pass the path instead.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.