Mongoidのcallbackの実行順序

以下のgistが超わかりやすかった。リンク先のコメント欄にはMongoid 5.0.1の場合も追記されている。

https://gist.github.com/jingoro/3015664#gistcomment-1629159

Pocket
LINEで送る
LinkedIn にシェア