github.com

Background allows you to add some context to the scenarios in a single feature. A Background is much like a...

github.com

What Pradipta Archiputra (aka "MAX ARCHIE") uses to send his recruitment emails. This plugin pretends that CC and BCC

railscasts.com

Learn how to set up a one-to-many or many-to-many association which is entirely embedded into a...

github.com

Another replacement for factories and fixtures that focuses on being DRY and making developers type as little as possible.

github.com

Template inliner avoids the problem when to render a large list of objects,

github.com

An ActionMailer delivery method to save mails as files in a directory.

github.com

So you downloaded inaction_mailer, and you had a folder full of e-mails generated while writing your app?

github.com

Easily show multiple, overlapping events across calendar days and rows.

github.com

A simple implementation of an Identity Mapper for Active Record.

gem-session.com

Unfortunately vanilla Ruby modules lack support for many idioms popular in modern Ruby. Most importantly, we have become accustomed to...

github.com

Steak is like Cucumber but in plain Ruby.

github.com

Rack middleware for rate-limiting incoming HTTP requests.

github.com

File upload solution that supports form roundtrips when a validation fails.

axonflux.com

Here is a set of additive color model conversion algorithms that I found published on Wikipedia and have implemented in...

robots.thoughtbot.com

We recently decided our CI server needed an overhaul. I really enjoyed Integrity as a build server, but after trying...

gusiev.com

What do we expect from the custom finder? We expect that it should find assets A, B, C and should...

apidock.com

All ActiveRecord associations except for has_many :through support callbacks for pre- and post-insertion/deletion via the following, self...

github.com

Pour color on your Rails console with awesome_print. Turn confusing long strings into formatted output. Have objects and classes laid out clearly whenever you need it. Put gem 'awesome...

...print', :group => :development into your Gemfile. Now on the Rails console you have the command ap that will give you a colored, formatted output of whatever you pass it. See...

Webpacker can automatically create an icon font from SVG files, which is really handy. When you're using the asset...

medium.com

Root Insurance runs their application as a monolithic Rails application – but they've modularized it inside its repository. Here is their approach in summary: Strategy Keep all code in a...

...merges and deploys across N repos. Other resources https://www.airpair.com/ruby-on-rails/posts/ruby-on-rails-the-modular-way https://engineering.gusto.com/building-toward-a-modular-monolith https://railsconf.com/2020/video/vladimir-dementyev-between-monoliths-and-microservices

The Rails secret_token must be unique for each application and any instance of it. If not, someone could exploit this by creating a user with ID = 1 (e.g. on...

...current production users, leaving the production token unchanged: prefix the existing secret_token with #{Rails.env unless Rails.env.production?}. Note: There may be tokens in single quotes that include backslashes, double quotes...

...reason), you can open doc/dependency_decisions.yml and edit the last entry. A word on bower-rails Bower-rails is a Bower wrapper that simplifies Rails integration. Unfortunately, it makes it harder...

...to integrate Bower with LicenseFinder. To get things running, follow these steps: Symlink bower-rails's bower.json to the project root: ln -s vendor/assets/bower.json Create a .bowerrc file at the...