I have a Country
which has many Communities
which have many Attractions
# Country
has_many :communities
# Community
has_many :attractions
# Attraction
belongs_to :community
How can I construct a scope that is called from the Country
which will give me all the attractions in its communities.
e.g. @country.all_attractions