2023-06-25から1日間の記事一覧
railsのEnumerableの拡張が便利 https://guides.rubyonrails.org/active_support_core_extensions.html#extensions-to-enumerable ActiveRecordのpluckみたいな処理を、hashが要素になっている配列に対して行おうとした時に見つけました。 こういうのは、普…
railsのEnumerableの拡張が便利 https://guides.rubyonrails.org/active_support_core_extensions.html#extensions-to-enumerable ActiveRecordのpluckみたいな処理を、hashが要素になっている配列に対して行おうとした時に見つけました。 こういうのは、普…