Update register_assigned.rb

fixing format