Skip to content

Instantly share code, notes, and snippets.

@jstorimer

jstorimer/gist:84174

Created Mar 24, 2009
Embed
What would you like to do?
Bag
has_many :chips
def tastes
chips.tastes
end
Chip
has_many :tastes
belongs_to :bag
Taste
belongs_to :chip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.