{"width":"100%","provider_url":"https://hatena.blog","title":"ActiveRecord Association Extension\u3068with_options\u3092\u4f75\u7528\u3059\u308b\u3068rubocop-rails\u306eRails/HasManyOrHasOneDependent\u8b66\u544a\u304c\u51fa\u308b\u306e\u3067\u4fee\u6b63\u3057\u3066\u307f\u305f","categories":["Ruby on Rails","Rubocop","ohbarye Advent Calendar 2020"],"author_url":"https://blog.hatena.ne.jp/ohbarye/","blog_url":"https://ohbarye.hatenablog.jp/","description":"ActiveRecord Association extensions\u3067\u30e1\u30bd\u30c3\u30c9\u3092\u8ffd\u52a0\u3059\u308b - valid,invalid \u3067\u66f8\u3044\u305fActiveRecord Association Extension\u3060\u304c\u3001with_options\u3068\u4f75\u7528\u3059\u308b\u3068rubocop-rails\u306eRails/HasManyOrHasOneDependent cop\u306b\u8b66\u544a\u3055\u308c\u308b\u3053\u3068\u304c\u308f\u304b\u3063\u305f\u3002 with_options dependent: :destroy do has_many :foo do end end with_options dependent: :destroy do has_many :foo do ^^\u2026","provider_name":"Hatena Blog","version":"1.0","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fohbarye.hatenablog.jp%2Fentry%2F2021%2F01%2F09%2Ffirst-pull-request-for-rubocop-rails\" title=\"ActiveRecord Association Extension\u3068with_options\u3092\u4f75\u7528\u3059\u308b\u3068rubocop-rails\u306eRails/HasManyOrHasOneDependent\u8b66\u544a\u304c\u51fa\u308b\u306e\u3067\u4fee\u6b63\u3057\u3066\u307f\u305f - valid,invalid\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://ohbarye.hatenablog.jp/entry/2021/01/09/first-pull-request-for-rubocop-rails","blog_title":"valid,invalid","height":"190","image_url":"https://avatars3.githubusercontent.com/u/1811616","published":"2021-01-09 17:38:23","author_name":"ohbarye"}