Commit 4b42f93052e655f53a0fa6a20f62a8d9b65aa550
1 parent
ad7ed929
Exists in
master
and in
1 other branch
wrote better comments to describe Problems and Errs
Showing
2 changed files
with
6 additions
and
5 deletions
Show diff stats
app/models/err.rb
| 1 | -# An Err is a group of notices that can programatically | ||
| 2 | -# be determined to be equal. (Errbit groups notices into | ||
| 3 | -# errs by a notice's fingerprint.) | 1 | +# Represents a set of Notices which can be automatically |
| 2 | +# determined to refer to the same Error (Errbit groups | ||
| 3 | +# notices into errs by a notice's fingerprint.) | ||
| 4 | 4 | ||
| 5 | class Err | 5 | class Err |
| 6 | include Mongoid::Document | 6 | include Mongoid::Document |
app/models/problem.rb
| 1 | -# An Problem is a group of errs that the user | ||
| 2 | -# has declared to be equal. | 1 | +# Represents a single Problem. The problem may have been |
| 2 | +# reported as various Errs, but the user has grouped the | ||
| 3 | +# Errs together as belonging to the same problem. | ||
| 3 | 4 | ||
| 4 | class Problem | 5 | class Problem |
| 5 | include Mongoid::Document | 6 | include Mongoid::Document |