Created
July 8, 2011 05:28
-
-
Save m3talsmith/1071205 to your computer and use it in GitHub Desktop.
Possible embedded heirarchy
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 Bulletin | |
include Mongoid::Document | |
has_and_belongs_to_many :sections | |
end |
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 Reading < Section | |
end |
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 Section | |
include Mongoid::Document | |
has_and_belongs_to_many :bulletins | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment