1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-07 14:57:48 +00:00

Renamed boutNumber to bout_number to make the field consistent with the rest of the domain and database schema.

This commit is contained in:
R.J. Osborne
2015-05-17 08:13:52 -04:00
parent f54937e9fe
commit f6dd4e8625
11 changed files with 45 additions and 40 deletions

View File

@@ -8,7 +8,7 @@ class Boutgen
@matches = matches.sort_by{|x|[x.weight_max]}
@matches.each_with_index do |m, i|
@bout = m.round * 1000 + i
m.boutNumber = @bout
m.bout_number = @bout
end
return @matches
end