All threads / Request for code review

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.

Looks good to me. Maybe avoid all the comments.

Join the discussion

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.