Module: Utusemi::Core::ActiveRecord::AssociationMethods

Defined in:
lib/utusemi/core.rb

Instance Method Summary collapse

Instance Method Details

#belongs_to(name, *args, &block) ⇒ Object



348
349
350
351
# File 'lib/utusemi/core.rb', line 348

def belongs_to(name, *args, &block)
  prepend_utusemi_association_reader_module(name)
  super
end

#has_many(name, *args, &block) ⇒ Object



358
359
360
361
# File 'lib/utusemi/core.rb', line 358

def has_many(name, *args, &block)
  prepend_utusemi_association_reader_module(name)
  super
end

#has_one(name, *args, &block) ⇒ Object



353
354
355
356
# File 'lib/utusemi/core.rb', line 353

def has_one(name, *args, &block)
  prepend_utusemi_association_reader_module(name)
  super
end