Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions code-review/examples/healty_culture.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

class PeopleService
def getPeople
people = Person.all
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agressive comment

Have you read Ruby's guides for methods namings? Obviously, this is not the way. Also, didn't you see this is not correctly indented? You can't make these errors.


return people
end
end
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct comment

Usually, we use snake case for method naming, so maybe we can adapt it. Also, there was a problem with indentation, perhaps, can we reduce it in one space? What do you think? 🤔
Thanks 😄