89de56d94d
Initial implementation & specs of the Event model and its children
4 lines
121 B
Ruby
4 lines
121 B
Ruby
class Workshop < Event
|
|
validates :length, numericality: {greater_than_or_equal_to: 30, less_than_or_equal_to: 120}
|
|
end
|