Browse by topic

ruby

Explore the topics and references in this collection.

ActiveAdmin Cheat Sheet

A quick reference guide for ActiveAdmin in Ruby on Rails, covering listing scopes, sidebar filters, custom actions, table columns, and view helpers.

Open cheat sheet

Arel SQL AST Manager for Ruby on Rails Cheat Sheet

A quick reference guide for Arel, the SQL Abstract Syntax Tree manager powering ActiveRecord in Ruby on Rails: tables, projections, complex joins, and query composition.

Open cheat sheet

Bundler Ruby Dependency Manager Cheat Sheet

A quick reference guide for Bundler in Ruby: bundle install, updating gems, Gemfile syntax, deployment modes, and local development.

Open cheat sheet

Capybara Ruby Integration Testing Cheat Sheet

A quick reference guide for Capybara: page navigation, form interactions, RSpec matchers, finders, scoping, modal dialogs, and test debugging.

Open cheat sheet

ChunkyPNG Ruby Image Library Cheat Sheet

A quick reference guide for ChunkyPNG, the pure Ruby PNG library: loading, saving, pixel manipulation, cropping, canvas drawing, and image transforms.

Open cheat sheet

Devise Authentication for Ruby on Rails Cheat Sheet

A quick reference guide for Devise in Ruby on Rails: generators, model modules, controller helpers, view customization, migrations, and scoped routing.

Open cheat sheet

Do Ruby Remote Execution Gem Cheat Sheet

A quick reference guide for the DO Ruby gem: SSH server connections, remote command execution, file inspection, streaming uploads, and content replacements.

Open cheat sheet

Factory Bot Cheatsheet

A quick reference guide for Factory Bot in Ruby: defining factories, associations, traits, sequences, transient attributes, and build strategies.

Open cheat sheet

FFaker Cheatsheet

A quick reference guide for FFaker Ruby gem: generating fake data for addresses, companies, education, geolocation, internet, names, and phone numbers.

Open cheat sheet

Goby Programming Language Cheatsheet

A comprehensive reference guide for the Goby programming language: syntax, classes, modules, concurrency with channels, standard library, and Go interop.

Open cheat sheet

Haml Cheatsheet

A quick reference guide for Haml: doctypes, tags, classes, IDs, inline HTML attributes, Ruby evaluation, filters, and indentation rules.

Open cheat sheet

Jekyll on GitHub Pages Cheatsheet

Quick reference guide for using Jekyll with GitHub Pages, covering directory structures, configuration, frontmatter, Liquid tags, and deployment.

Open cheat sheet

Jekyll Static Site Generator Cheatsheet

A comprehensive reference guide for Jekyll: directory structure, YAML front matter, Liquid tags & filters, variables, collections, and GitHub Pages setup.

Open cheat sheet

Kramdown Markdown Converter Cheatsheet

A quick reference guide for Kramdown in Ruby & Jekyll: extended syntax, custom attributes ({: ... }), footnotes, math, abbreviations, and table alignments.

Open cheat sheet

Machinist Cheatsheet

A quick reference guide for Machinist: Ruby fixture replacement library blueprints, object instantiation, and model associations.

Open cheat sheet

Rails meta-tags Gem Cheatsheet

A quick reference guide for the Ruby on Rails meta-tags gem: setting dynamic titles, Open Graph, Twitter Cards, canonical URLs, and view helpers.

Open cheat sheet

Middleman 3 Cheatsheet

A quick reference guide for Middleman v3: static site generator configuration, Compass, asset pipelines, page layout routing, and build optimizations.

Open cheat sheet

Minitest Cheatsheet

A quick reference guide for Ruby Minitest: unit testing, BDD specs, expectation matchers, assertions, Minitest::Mock, and reporters.

Open cheat sheet

Packs Ruby Modularization Cheatsheet

A quick reference guide for Packs: Ruby modular application packaging specification, public API encapsulation, dependency boundaries, and linting.

Open cheat sheet

Phusion Passenger Cheatsheet

Quick reference guide for Phusion Passenger application server, covering Nginx virtual host configuration and deployment options.

Open cheat sheet

Pry Ruby REPL Cheatsheet

A quick reference guide for Pry: the powerful Ruby runtime developer console, introspection, source inspection, navigation, and Rails debugging.

Open cheat sheet

PSD.rb Photoshop Parser Cheatsheet

A quick reference guide for PSD.rb: parsing Photoshop PSD documents in Ruby, layer tree traversal, vector geometry, text formatting, and layer masks.

Open cheat sheet

Rack::Test Cheatsheet

A quick reference guide for Rack::Test: lightweight testing API for Ruby Rack, Sinatra, and Rails applications.

Open cheat sheet

Rails Controllers Cheatsheet

A quick reference guide for Rails controllers: params, sessions, cookies, flash messages, before_action filters, redirects, and format rendering.

Open cheat sheet

Rails Form Helpers Cheatsheet

A quick reference guide for Rails form helpers: form_with, model binding, input fields, selects, checkboxes, radio buttons, and CSRF protection.

Open cheat sheet

Rails View Helpers Cheatsheet

A quick reference guide for Rails built-in view helpers: numbers, currency, human dates, strings, sanitization, and asset tags.

Open cheat sheet

Rails Internationalization (i18n) Cheatsheet

A quick reference guide for Rails i18n: translations, localized dates, pluralization, scoped lookups, and YAML locale dictionaries.

Open cheat sheet

Rails Database Migrations Cheatsheet

A quick reference guide for Rails database migrations: create_table, column types, foreign keys, composite indexes, reversible changes, and rake tasks.

Open cheat sheet

Rails ActiveRecord Models Cheatsheet

A comprehensive reference guide for Rails ActiveRecord models: querying scopes, associations, validations, callbacks, dirty tracking, and aggregations.

Open cheat sheet

Rails Engines & Plugins Cheatsheet

A quick reference guide for Rails Engines and plugins: generating engines, initializers, isolated namespaces, mounting routes, and gem configuration.

Open cheat sheet

Rails Routing Cheatsheet

A quick reference guide for Rails routing: resourceful routes, member and collection actions, namespaces, scopes, constraints, and route helpers.

Open cheat sheet

Rails Tips & Tricks Cheatsheet

A quick reference guide for Rails performance tips, console debugging shortcuts, database query optimizations, and development productivity.

Open cheat sheet

Ruby on Rails Overview Cheatsheet

A high-level architecture cheatsheet for Ruby on Rails: MVC conventions, CLI commands, controllers, views, layouts, and helpers.

Open cheat sheet

Rake Build Tool Cheatsheet

A quick reference guide for Ruby Rake: defining tasks, namespaces, dependencies, task arguments, and file operations.

Open cheat sheet

rbenv Ruby Version Manager Cheatsheet

A quick reference guide for rbenv: managing multiple Ruby installations, shims, version scopes (local, global, shell), and ruby-build.

Open cheat sheet

RDoc & YARD Documentation Cheatsheet

A quick reference guide for RDoc and YARD: documenting Ruby classes, methods, parameters, return types, code examples, and formatting directives.

Open cheat sheet

Ronn Manual Authoring Cheatsheet

A quick reference guide for Ronn: converting Markdown documents into standard roff man pages and HTML documentation.

Open cheat sheet

RSpec Rails Cheatsheet

A quick reference guide for rspec-rails: model specs, request specs, system specs, route specs, and database transactions.

Open cheat sheet

RSpec Cheatsheet

A comprehensive reference guide for RSpec: BDD testing in Ruby, describe, context, it, matchers, let, subject, mocks, and spies.

Open cheat sheet

Ruby Programming Language Cheat Sheet

Core Ruby programming language quick reference manual, including basic syntax, common built-in objects, control flow, method definitions, OOP, and Enumerable module operations.

Open cheat sheet

Ruby 2.1 Feature Cheatsheet

A historical reference guide for landmark features introduced in Ruby 2.1: required keyword arguments, def method return symbols, and rational literals.

Open cheat sheet

RubyGems CLI Cheatsheet

A quick reference guide for RubyGems CLI: building, installing, publishing, yanking gems, search queries, and environment inspection.

Open cheat sheet

Sequel Ruby Database Toolkit Cheatsheet

A comprehensive reference guide for Sequel: the modular Ruby database toolkit, connection pools, datasets, migrations, models, and transactions.

Open cheat sheet

SimpleForm Cheatsheet

Quick reference guide for SimpleForm gem in Ruby on Rails, covering input helpers, form wrappers, and field options.

Open cheat sheet

Slim Cheatsheet

Quick reference guide for Slim template engine in Ruby, covering concise syntax, HTML tag helpers, conditionals, loops, and partials.

Open cheat sheet

StimulusReflex Cheatsheet

Quick reference guide for StimulusReflex in Ruby on Rails, covering reflex actions, morph modes, lifecycle callbacks, and client events.

Open cheat sheet

TomDoc Cheatsheet

Quick reference guide for TomDoc code documentation standard for Ruby, covering method headers, argument declarations, and tags.

Open cheat sheet

Vim-Rails Cheatsheet

A quick reference guide for tpope/vim-rails plugin: alternate and related file navigation, file extraction, abbreviations, and Rails project jump commands.

Open cheat sheet