1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-19 13:54:25 +01:00

fixed delete machine error

This commit is contained in:
cyril 2015-05-08 13:31:58 +02:00
parent 485447f4da
commit 369be9dd63

View File

@ -10,8 +10,6 @@ class Machine < ActiveRecord::Base
has_and_belongs_to_many :projects, join_table: 'projects_machines'
has_and_belongs_to_many :trainings, join_table: 'trainings_machines'
validates :name, presence: true, length: { maximum: 50 }
validates :description, presence: true