Skip to content

Instantly share code, notes, and snippets.

@austinthecoder
Created September 1, 2012 16:22
Show Gist options
  • Save austinthecoder/3579274 to your computer and use it in GitHub Desktop.
Save austinthecoder/3579274 to your computer and use it in GitHub Desktop.
class Person < ActiveRecord::Base
has_many :friends do
def clear
raise "Do not use this method"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment