YaleSTC/shifts

View on GitHub
app/models/location_sinks_location_source.rb

Summary

Maintainability
A
0 mins
Test Coverage
class LocationSinksLocationSource < ActiveRecord::Base
  belongs_to :location_sink,   polymorphic: true
  belongs_to :location_source, polymorphic: true
  
  # acts_as_double_polymorphic_join(location_sources: [:departments,:loc_groups, :locations],
  #                                 location_sinks:   [:notices, :restrictions])
end