1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00
fab-manager/app/models/age_range.rb

7 lines
136 B
Ruby
Raw Normal View History

2016-06-28 15:56:37 +02:00
class AgeRange < ActiveRecord::Base
extend FriendlyId
friendly_id :name, use: :slugged
has_many :events, dependent: :nullify
2016-06-28 15:56:37 +02:00
end