class ActiveRecord::Base

Public Class Methods

has_many(*) click to toggle source
# File lib/active_has_many.rb, line 4
def self.has_many(*)
  raise "Your has_many has been activated. You are welcome."
end
has_one(*) click to toggle source
# File lib/active_has_many.rb, line 8
def self.has_one(*)
  raise "Your has_one has been activated. You are welcome."
end