プロフィール編集画面 #10
プロフィール編集画面 #10
reviewdog [rails_best_practices] report
reported by reviewdog 🐶
Findings (3)
app/views/kaminari/_paginator.html.slim|7| move code into model (page use_count > 2)
app/controllers/users_controller.rb|4| move model logic into model (@user use_count > 4)
app/controllers/users_controller.rb|13| use scope access
Filtered Findings (0)
Annotations
Check notice on line 7 in app/views/kaminari/_paginator.html.slim
github-actions / rails_best_practices
[rails_best_practices] app/views/kaminari/_paginator.html.slim#L7
move code into model (page use_count > 2)
Raw output
/home/runner/work/twitter_clone/twitter_clone/app/views/kaminari/_paginator.html.slim:7 - move code into model (page use_count > 2)
Check notice on line 4 in app/controllers/users_controller.rb
github-actions / rails_best_practices
[rails_best_practices] app/controllers/users_controller.rb#L4
move model logic into model (@user use_count > 4)
Raw output
/home/runner/work/twitter_clone/twitter_clone/app/controllers/users_controller.rb:4 - move model logic into model (@user use_count > 4)
Check notice on line 13 in app/controllers/users_controller.rb
github-actions / rails_best_practices
[rails_best_practices] app/controllers/users_controller.rb#L13
use scope access
Raw output
/home/runner/work/twitter_clone/twitter_clone/app/controllers/users_controller.rb:13 - use scope access