Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Fix user create conditional #13

Fix user create conditional

Fix user create conditional #13

Triggered via push January 18, 2024 13:16
Status Success
Total duration 31s
Artifacts

standard.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors
app/models/record.rb#L69
Do not write to stdout. Use Rails's logger if you want to log.
app/models/record.rb#L95
Use `update!` instead of `update` if the return value is not checked.
app/models/record.rb#L95
Do not use `Time.now` without zone. Use one of `Time.zone.now`, `Time.current`, `Time.now.in_time_zone`, `Time.now.utc`, `Time.now.getlocal`, `Time.now.xmlschema`, `Time.now.iso8601`, `Time.now.jisx0301`, `Time.now.rfc3339`, `Time.now.httpdate`, `Time.now.to_i`, `Time.now.to_f` instead.
app/models/record.rb#L112
Prefer `each` over `for`.