Hot answers tagged ruby-on-rails
Hi i needed recently to patch gitlab for skipping confirmation for LDAP users. I do not consider this as a good patch but it works. vim /opt/gitlab/embedded/service/gitlab-rails/lib/api/users.rb: post do authenticated_as_admin! ... # <patch: if attrs[:extern_uid] # skip confirmation for LDAP ...
The simple answer to how you go about this is: you don't. If any problem you can forseeably cause in the staging environment can also have an impact on the production environment, it's not really a staging environment. You're doing your testing in production. If you fill the disk, you've impacted production. If you peg the CPU, you've impacted production. ...
You want to deploy /tasks and /search in sub-URIs. See the Passenger deployment guide.
Only top voted, non community-wiki answers of a minimum length are eligible