module Bookings::ClassMethods
Public Instance Methods
bookable()
click to toggle source
# File lib/bookings.rb, line 8 def bookable has_many :bookings, as: :bookable, dependent: :destroy validates_associated :bookings end