Class: Immortal::BelongsToBuilder

Inherits:
ActiveRecord::Associations::Builder::BelongsTo
  • Object
show all
Defined in:
lib/immortal/belongs_to_builder.rb

Overview

Builds a belongs_to association with _with_deleted and _only_deleted readers.

Class Method Summary collapse

Class Method Details

.define_accessors(mixin, reflection) ⇒ Object



8
9
10
11
# File 'lib/immortal/belongs_to_builder.rb', line 8

def self.define_accessors(mixin, reflection)
  super
  define_deletables(mixin, reflection)
end