Rails default config uses the ActiveSupport::Cache::NullStore and disables controller caching for all environments except production: config.action_controller.perform_caching = false...

Webmocks hash_including is similar to RSpec::Mocks::ArgumentMatchers#hash_including. Be aware that hash_including (webmock v3.0.1) doesn't...

Typhoeus has a different way of representing array params in a get request than RestClient. Typhoeus: http://example.com/?foo[0]=1&foo[1]=2&foo[2]=3

chris.beams.io

Separate subject from body with a blank line Limit the subject line to 50 characters (max. 72), include reference (unique...

In case you want to require a gem, that is not in the Gemfile of you bundle and therefore not...

For the initial setup or changes in the sentry reporting it might be useful to enabled reporting of sentry in...

You can start vim with a read-only option. This prevents making accidentally changes in files you don't want...

evilmartians.com

Adding a gem means you take over the liability towards the external code. Checklist Based on "To gem, or not...

Building plain text emails with an .erb template doesn't allow you to indent code like you normally do in...

Plot graphs in Ruby WebGraphviz renders in your browser via JavaScript (to store the rendered graph, extract the SVG using...

Like you know from "How to tell ActiveRecord how to preload associations (either JOINs or separate queries)", you can tell...

This card tries to summarize by example the different uses of heredoc. In Ruby << vs. <<- vs. <<~ In Rails strip_heredoc...

This method will remove automatically installed packages that no other packages depend on any more. This, of course...

If you want to find the commits that touched a specific text in a file, use git log -G 'text...

davidverhasselt.com

Rails 5 / 6 / 7 Method Uses Default Accessor Saves to Database Runs Validations Runs Callbacks Updates updated_at/updated_on Respects Readonly...

1. Sometimes you have search entries in the autocomplete of the address bar, which are higher weighted than your bookmarks...

Same requests are recorded only once in vcr. Replaying a test fails, if you trigger the same request multiple times...

Sometimes you want to test migrations with production or staging data. Dumping single tables makes sense if a complete dump...

Sometimes you might want to check a short link for it's destination before clicking on it. Additional you get...

getpostman.com

Talking with APIs makes more fun using Postman. As an alternative you can also use command line tools like cURL...

github.com

Using Scenic, you can bring the power of SQL views to your Rails application without having to switch your schema...

github.com

A collection of 700+ svg vector logos. The logos are optimized (removed duplicated paths / excessive groups / empty defs, linting, etc...

As we get an exception notification, when a cron job fails, we wish to have the full backtrace in this...

mail-tester.com

You can use mail-tester.com to check your application's e-mails for issues that might cause e-mails to be...