Class: ActiveRecord::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/active_has_many.rb

Class Method Summary collapse

Class Method Details

.has_manyObject



4
5
6
# File 'lib/active_has_many.rb', line 4

def self.has_many(*)
  raise "Your has_many has been activated. You are welcome."
end

.has_oneObject



8
9
10
# File 'lib/active_has_many.rb', line 8

def self.has_one(*)
  raise "Your has_one has been activated. You are welcome."
end