rails-mini-profiler
rails-mini-profiler copied to clipboard
Add validations to models
Models such as Trace, ProfiledRequest do not have validations at the moment.
Just to be safe, validations should be added, for example:
- Required attributes (user_id) presence
- Formatting (e.g. HTTP verb, status code)
- ...