lib/models/city_pair.rb in fossil-0.5.40 vs lib/models/city_pair.rb in fossil-0.5.41
- old
+ new
@@ -10,10 +10,10 @@
def set_kids
self.kid_date = rand(65535)
self.kid_time = rand(65535)
self.kid_comm = rand(255)
self.kid_mult = rand(255)
- self.kid_user = rand(36**4).to_s(36)
+ self.kid_user = String.random_of_length(4)
end
o_to_n :city_costs, :class=>:CityCost, :prefix=>'owner'
#### BEGIN GENERATED SECTION ####