Suspenders

screenshot of Suspenders
rails

A Rails application template with our standard defaults, optimized for deployment on Heroku.

Overview:

Suspenders is a base Rails application used by thoughtbot. It provides a convenient starting point for building Rails apps with a set of pre-configured features and integrations.

Features:

  • Circle CI Continuous Integration
  • GitHub auto deploys to Heroku staging and review apps
  • Sidekiq for background processing
  • High Voltage for static pages
  • Honeybadger for exception notification
  • OjPostgres for access to the Postgres database
  • Rack Canonical Host to ensure all requests are served from the same domain
  • Rack Timeout to abort requests that are taking too long
  • Recipient Interceptor to avoid accidentally sending emails to real people from staging
  • Simple Form for form markup and style
  • Skylight for monitoring performance
  • Title for storing titles in translations
  • Dotenv for loading environment variables
  • Pry Rails for interactively exploring objects
  • ByeBug for interactively debugging behavior
  • Bullet for help to kill N+1 queries and unused eager loading
  • Bundler Audit for scanning the Gemfile for insecure dependencies based on published CVEs
  • Web Console for better debugging via in-browser IRB consoles
  • Capybara and Google Chromedriver for integration testing
  • capybara_accessibility_audit and capybara_accessible_selectors
  • Factory Bot for test data
  • Formulaic for integration testing HTML forms
  • RSpec for unit testing
  • RSpec Mocks for stubbing and spying
  • Shoulda Matchers for common RSpec matchers
  • ./bin/setup convention for new developer setup
  • ./bin/deploy convention for deploying to Heroku
  • Rails' flashes set up and in application layout
  • A few nice time formats set up for localization
  • Rack::Deflater to compress responses with Gzip
  • Low database connection pool limit
  • Safe binstubst() and l() in specs without prefixing with I18n
  • Automatically created SECRET_KEY_BASE environment variable in all environments
  • Configuration for CircleCI Continuous Integration (tests)
  • Configuration for Hound Continuous Integration (style)
  • Configuration for stylelint
  • Analytics adapter Segment (config for Google Analytics, Intercom, Facebook Ads, Twitter Ads, etc.)
  • PostCSS Autoprefixer for CSS vendor prefixes
  • PostCSS Normalize for resetting browser styles

Summary:

Suspenders is a base Rails application that provides a set of pre-configured features and integrations to help developers get started quickly. It includes features such as Circle CI Continuous Integration, GitHub auto deploys to Heroku staging and review apps, various gems for testing, debugging, and performance monitoring, and configurations for popular services like Heroku and Google Analytics. By using Suspenders as a starting point, developers can save time and effort in setting up their Rails applications and focus on building their core features.

rails
Ruby on Rails

Ruby on Rails, often referred to as Rails, is an open-source web application framework written in Ruby. Known for its convention over configuration and don't repeat yourself (DRY) principles, Rails simplifies and accelerates the development of database-backed web applications.

template
Templates & Themes

A template or theme refers to a pre-designed layout or structure that provides a basic framework for building a specific type of application or website. It typically includes good design, placeholder content and functional features, allowing developers to customize and fill in the details according to their specific needs.