small test for nccu

This commit is contained in:
Harry Bomrah 2015-09-24 15:18:35 +08:00
parent fdb12ae23f
commit 893c4686cb
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ class Unit
accepts_nested_attributes_for :departments, :allow_destroy => true
after_save :save_departments
# after_save :save_departments
def save_departments
self.departments.each do |t|