Commit Graph

12 Commits

Author SHA1 Message Date
GitLab Bot 56a7627af0 Add latest changes from gitlab-org/gitlab@master 2020-02-13 03:09:05 +00:00
GitLab Bot 556c79d6cc Add latest changes from gitlab-org/gitlab@master 2019-12-02 15:06:36 +00:00
GitLab Bot 59a349817c Add latest changes from gitlab-org/gitlab@master 2019-11-26 21:06:38 +00:00
GitLab Bot 45482d5a27 Add latest changes from gitlab-org/gitlab@master 2019-09-27 12:06:07 +00:00
Nick Thomas 5a574883f9
Remove MySQL references from development docs
I noticed the doc/development/testing_guide/best_practices.md still
referenced the `[run mysql]` tags, etc. They no longer work, so I
removed them, then realised I had better clean up the rest of
doc/development !
2019-08-16 14:05:08 +01:00
Marcel Amirault 5abfc57ec3 Fix spacing of code blocks
Code blocks should not be spaced 4 times, as this will
prevent the code from being colored. They should
also be spaced the same as the lists they are a part
of, to make reading easier.
2019-07-09 07:16:17 +00:00
Nick Thomas 98a5976b78
Document ApplicationRecord / pluck_primary_key
We also enable the rubocop that makes it mandatory
2019-03-29 20:54:06 +00:00
Bob Van Landuyt ccd8a9b282 Adds helper for `find_or_create_by` in transaction
This allows us to call `find_or_create_by` on all models and scopes.
2019-02-05 14:44:41 +01:00
Yorick Peterse 40ad7d5d7a
Fix ActiveRecord::Migration deprecations
Extending from ActiveRecord::Migration is deprecated, but was still used
in a bunch of places.
2018-12-12 16:38:40 +01:00
Andreas Brandl 4dac4bfc70 Document pattern for .find_or_create and similar methods. 2018-07-17 10:52:19 +02:00
Yorick Peterse 862da3cfed
Add more database development related docs 2017-08-16 16:39:33 +02:00
Yorick Peterse 059df2256e Added basic SQL guidelines
[ci skip]
2016-03-08 11:28:50 +01:00