Module: EnjuCirculation::EnjuCarrierType::ClassMethods
- Defined in:
- lib/enju_circulation/carrier_type.rb
Instance Method Summary collapse
Instance Method Details
#enju_circulation_carrier_type_model ⇒ Object
8 9 10 11 12 |
# File 'lib/enju_circulation/carrier_type.rb', line 8 def enju_circulation_carrier_type_model has_many :carrier_type_has_checkout_types, dependent: :destroy has_many :checkout_types, through: :carrier_type_has_checkout_types accepts_nested_attributes_for :carrier_type_has_checkout_types, allow_destroy: true, reject_if: :all_blank end |