Skip to content

Instantly share code, notes, and snippets.

@lettergram lettergram/user.rb
Last active Mar 9, 2018

What would you like to do?
belongs_to :referrer, :class_name => 'User', foreign_key: 'referred_by'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.