I’ve poured over as much of this topic regarding multi model searching
in acts_as_ferret yet I’m still appearing to come up blank. Hopefully
someone here could help,
I have the following in my artist model
class Artist < ActiveRecord::Base
acts_as_ferret :store_class_name => true, :fields => [:name,
has_and_belongs_to_many :users, :join_table => ‘user_artists’
has_and_belongs_to_many :tracks, :join_table => ‘track_artists’
has_and_belongs_to_many :releases, :join_table => ‘release_artists’
put simply, I’m trying to search and for a search for say “David Bowie”
to return not only a David Bowie Artist record, but also Track and
Release records by said artist.
Can any one help me figure this one out? Thanks in advance.