-
-
Save carlcrott/e68fea1baa070e68b984 to your computer and use it in GitHub Desktop.
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
# Table that records information for citations from which data | |
class Citation < ActiveRecord::Base | |
include Overrides | |
... | |
#Define relationships to other tables | |
has_and_belongs_to_many :sites | |
has_and_belongs_to_many :treatments | |
has_many :managements | |
has_many :yields | |
has_many :traits | |
has_many :priors | |
has_many :ebi_methods, :class_name => "Methods" | |
belongs_to :user | |
... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment