Here’s how my associations map:
class Journal < ActiveRecord::Base
class FilmJournalEntry < ActiveRecord::Base
class MusicJournalEntry < ActiveRecord::Base
Both “entries” tables have correct foreign keys set-up and contain
records that map correctly when querying their values through
I just want to be able to pull in all of the film_journal_entries and
music_journal_entries buy running an AR query through Journal.
I have tried things like:
all_entries = Journal.all :joins =>
and some other things utilizing :include, but I still haven’t got it.
How would I do this?