Ruby Application Code Review Checklist (English)
Code Structure and Organization
- Check proper use of modules and classes
 - Verify adherence to Ruby naming conventions (snake_case for methods/variables, CamelCase for classes)
 - Look for appropriate use of Ruby idioms and language features
 - Check appropriate separation of concerns
 
Ruby-Specific Practices
- Verify proper use of blocks, procs, and lambdas
 - Check for appropriate metaprogramming techniques (not overused)
 - Look for proper exception handling with specific error classes
 - Verify consistent use of symbols vs. strings
 
Testing and Quality
- Check for comprehensive test coverage (unit, integration, system tests)
 - Verify the use of appropriate testing frameworks (RSpec, Minitest)
 - Look for test organization and structure
 - Check for proper use of fixtures, factories, and mocks
 
Performance Considerations
- Look for N+1 query issues in database operations
 - Check for proper database indexing
 - Verify efficient use of Ruby collections and enumerables
 - Look for unnecessary object allocations
 
Gem Management
- Verify appropriate gem selection and dependency management
 - Check for outdated or vulnerable gems
 - Look for proper versioning constraints in Gemfile
 - Verify gem configuration in initializers
 
Security Issues
- Check for SQL injection vulnerabilities
 - Look for proper input sanitization
 - Verify authentication and authorization implementations
 - Check for insecure direct object references
 
Framework-Specific Checks (if using Rails)
- Proper MVC structure and adherence
 - Appropriate use of ActiveRecord callbacks and validations
 - Check routing and controller organization
 - Verify proper use of view helpers and presenters
 
Documentation
- Check for comprehensive code documentation
 - Verify README and installation instructions
 - Look for API documentation if applicable
 - Check for comments explaining complex business logic