Skip to content

Instantly share code, notes, and snippets.

@carlcrott
Created October 29, 2012 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlcrott/5d0d96d7be1b1fd7b47c to your computer and use it in GitHub Desktop.
Save carlcrott/5d0d96d7be1b1fd7b47c to your computer and use it in GitHub Desktop.
# The covariate table records conditions under which a measure
class Covariate < ActiveRecord::Base
include Overrides
...
belongs_to :trait
belongs_to :variable
comma do
id
trait_id
variable_id
level
created_at
updated_at
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment