The docs for elasticsearch on github show me basic usage like @users =
User.search(@query).records but actually users has_many other models and i
want my searches to match any fields from any of the child models, how
would i write such searces? ~ thanks

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0d2ee390-fe12-4172-8468-fa07adce6ee8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedMar 21, '16 at 12:26a
activeMar 21, '16 at 12:26a
posts1
users1
websiterubyonrails.org
irc#RubyOnRails

1 user in discussion

Fugee ohu: 1 post

People

Translate

site design / logo © 2021 Grokbase