Skip to content

Instantly share code, notes, and snippets.

@anlek
Created May 5, 2010 18:30
Show Gist options
  • Save anlek/391231 to your computer and use it in GitHub Desktop.
Save anlek/391231 to your computer and use it in GitHub Desktop.
belongs_to :creator, :class_name => "User", :foreign_key => "creator_id"
belongs_to :user, :class_name => "User", :foreign_key => "user_id"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment