| name | ruby |
| description | Ruby/Rails: .rb, Gemfile, Rakefile, .gemspec, bundler, ActiveRecord, migrations, RSpec, minitest, or generators. |
Ruby Skill
Use Bundler, follow local conventions, and prefer explicit, readable code over metaprogramming.
Commands
| Command | Purpose |
|---|
bundle install | Install dependencies |
bundle exec rspec | Run RSpec tests |
bundle exec rails s | Start Rails server |
bundle exec rubocop | Lint and format |
bundle exec rake db:migrate | Run migrations |
ruby -c file.rb | Syntax check |
Contents
- core.md - Ruby style, Bundler, blocks, errors, and metaprogramming
- testing.md - RSpec, Minitest, factories, and external boundaries
- rails.md - Rails 8 patterns, services, jobs, Hotwire, and migrations
- hanami.md - Hanami slices, ROM, contracts, and actions