MySQLの最適化で参考になりそうな記事
* MySQL Explain Example - Explaining MySQL EXPLAIN using StackOverflow data
* MySQL Explain Example - Explaining MySQL EXPLAIN using StackOverflow data
config/initializers/active_model_query_debug.rb
GitlabのMRをマージするとissueがクローズされる
metadataのキーをシンボルにすると設定されないので注意。
rails内で下記の処理を行えており、コンソールで同様の処理を実行したところ、NoMethodError: private method open' called` が発生した。
date -v-1d +%F を使用する
Model: gorm.Model{ID: id} で可能。
using reflection in Go to get the name of a struct - Stack Overflow
created_at, updated_atは自動付与されないことに気をつける(DBの設定が自動挿入になっていればOK)
s3 - Amazon Web Services - Go SDK
Creating Random Strings in Go - Calhoun.io
cp — AWS CLI 1.18.46 Command Reference
Help with nested template · Issue #339 · gin-gonic/gin
retry_on 内でエラーが発生した場合は、無限に実行されるので気をつける。
dbにGitlabの名称、ChatworkのIDを設定する