scheme
I hereby claim:
- I am stevula on github.
- I am stevensynapsepay (https://keybase.io/stevensynapsepay) on keybase.
- I have a public key whose fingerprint is 7F2E 11DF 7BE5 5338 B03C 0C37 A479 CE8F 598B FAB8
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Game < ActiveRecord::Base | |
has_and_belongs_to_many :decks | |
has_many :cards, through: :decks | |
end | |
class Deck < ActiveRecord::Base | |
has_and_belongs_to_many :games | |
has_many :cards | |
end |