Ask A Question

Notifications

You’re not receiving notifications from this thread.

Request for code review

Alexey asked in Rails

Hello.
Can I ask for a little review of my code?
I have been a php-developer for a long time. I really want to learn professional programming on rubi / ruby on rails.
This is my class, this is my controller. Please tell me what needs to be changed?
The app works well, my question is about code style only.
Thanks in advance.

Reply

Looks good to me. Maybe avoid all the comments.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 81,842+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2024 GoRails, LLC. All rights reserved.