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...
You can use three different versions of the regular expression syntax in grep: basic: -G extended: -E(POSIX)
This method will remove automatically installed packages that no other packages depend on any more. This, of course...
When you're writing specs for ActiveRecord models that use memoization, a simple #reload will not do: it 'updates on...
When a directory has more than a few thousand entries, ls will start taking really long to list its content...
You can have a command repeatedly executed and the output displayed. This is useful e.g. for monitoring file system changes...
This might be relevant for us since we're often managing customer documents in our apps. I played around with...
If you want to find the commits that touched a specific text in a file, use git log -G 'text...
Icomoon.io offers a free app to build custom icon webfonts. It offers downloads as webfont set (.eot, .ttf, .woff, .woff2...
Rails 5 / 6 / 7 Method Uses Default Accessor Saves to Database Runs Validations Runs Callbacks Updates updated_at/updated_on Respects Readonly...
Detect if a gem has been activated A gem is activated if it is either in the current bundle (Gemfile.lock...
We have released a new library Gemika to help test a gem against multiple versions of Ruby, gem dependencies and...
Same requests are recorded only once in vcr. Replaying a test fails, if you trigger the same request multiple times...
We have a new gem Minidusen which extracts Dusen's query parsing and LIKE query functionality. Minidusen can no longer...
Improve geordi cucumber: Only attempt @solo run when the specified files contain the @solo tag, skip @solo run if any...
Capistrano is by default configured to exclude the gems of the groups development and test when deploying to the stages...
You want Spring for super-fast binstubs like bin/rails or bin/rspec which avoid Rails boot time. You want parallel_tests...
Sometimes you might need to nest a git-project inside another git-project. The right strategy is to use submodules...
Promises are the new way™ to express "Do this, and once you're done, do that". In contrast to callbacks...
On OSX (real or inside Browserstack), you need different keystrokes for your favorite special characters than you'd use on...
When you're nesting setTimeout(f, 0) calls, your browser will silently increase the delay to 5 milliseconds after the...
Piwik is the leading open-source analytics platform. As such, it is an alternative to Google Analytics. Since it is...