6 lines
135 B
Text
6 lines
135 B
Text
|
make sure that root individuals have same 'joinedwithcode' as 'code'
|
||
|
|
||
|
User.all.each do |u|
|
||
|
u.generation = u.get_generation
|
||
|
u.save
|
||
|
end
|