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」を渡すと、「A」で始まるすべての名前が返されるクエリが必要です。
ただ行う:
User.where(:name => /^A/)