エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
ActiveRecord::Associations::CollectionProxy (Ruby on Rails edge)
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
ActiveRecord::Associations::CollectionProxy (Ruby on Rails edge)
Collection proxies in Active Record are middlemen between an association, and its target result s... Collection proxies in Active Record are middlemen between an association, and its target result set. For example, given class Blog < ActiveRecord::Base has_many :posts end blog = Blog.first The collection proxy returned by blog.posts is built from a :has_many association, and delegates to a collection of posts as the target. This class delegates unknown methods to the association‘s relation class