Skip to content

Instantly share code, notes, and snippets.

@codespectator
Created February 28, 2012 21:17
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 codespectator/1935220 to your computer and use it in GitHub Desktop.
Save codespectator/1935220 to your computer and use it in GitHub Desktop.
class Exercise
belongs_to :language_one, :class => '::LanguageCode', :foreign_key => 'lanaguage_one_id'
belongs_to :language_two, :class => '::LanguageCode', :foregin_key => 'language_two_id'
end
class LauangeCode
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment