Skip to main content

Request for code review

Rails • Asked by Alexey

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.


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.