Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は次のモデルを持っています:ブランドと車
A Brand has_many Car A Car belongs_to Brand
少なくとも1台の車を持っているすべてのブランドを取得するにはどうすればよいですか?