hovancik/BSDSec

View on GitHub
app/views/articles/index.atom.builder

Summary

Maintainability
Test Coverage

Showing 4 of 4 total issues

Use !empty? instead of length > 0.
Open

feed.updated(@articles[0].created_at) if @articles.length > 0

Missing frozen string literal comment.
Open

atom_feed do |feed|

Use @articles.length.positive? instead of @articles.length > 0.
Open

feed.updated(@articles[0].created_at) if @articles.length > 0

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

feed.title("BSDSec")
Category
Status