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

philipwalton.github.io

Solved with flexbox is a collection of css problems which were hard or impossible to solve without flexbox: Better, Simpler...

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

makandra dev

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

stackoverflow.com

A collection of code snippets which return a boolean value for a regex comparison. regexp.match?(string) # Recommended for Ruby >= 2.4...

evilmartians.com

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

Chrome gives you the currently selected element in the inspector with $0. If you select a button in the DOM...

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...

TL;DR Debugging problems with javascript errors in cucumber tests is sometimes easier in the browser. Run the test, stop...

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 -S '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...

There is no build in functionally in jQuery and Prototype to extract params from a url. You can use this...

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

makandra dev

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...