Today I got a better understanding of how git works, in particular what git checkout and git reset do.
The ActionMailer in Rails 2 depends on a buggy version of TMail, which sometimes inserts a blank line into the...
simple_format ignores Rails' XSS protection. Even when called with an unsafe string, HTML characters will not be escaped or...
Note: Modern Rails has two build pipelines, the asset pipeline (or "Sprockets") and Webpacker. The principles below apply for both...
A print stylesheet is easy to create. Choose a font suited for paper, hide some elements, done. Unfortunately print stylesheets...
This article describes how to reset MySQL's or MariaDB's root password on your workstation. It's meant for...
RubyMine: Set specific Ruby version per project
When committing, you should always check the diff of your changes so you don't include any leftovers or irrelevant/bad...
Jedes nicht rein private Profil auf Social Media Portalen muss ein Impressum haben, das heißt insbesondere Unternehmen und Freiberufler (§ 5...
Internet Explorer until version 9 has some limitations when parsing CSS files Summarized, these are: Up to 31 CSS files...
I recently worked on a project with 60+ old feature branches. Most of them had been merged into master and...
So you got this error, even though your Gemfile bundles mysql2: !!! Missing the mysql2 gem. Add it to your Gemfile...
The next version of MySQL will include a built-in memcached daemon. This daemon can quickly get and set key/value...
paper_trail is an excellent gem to track record versions and changes. You almost never want to reimplement something like...
You've always been able to access the humanized version for the current value like this: song = Song.new(:genre => 'pop...
In a nutshell: Use git rebase --onto target-branch source-commit target-branch means "branch you want to be based...
When deploying, Capistrano puts a REVISION file into your application's release directory. It contains the hash of the commit...
For my Gem Session project Holly I ran the Ironman of drag'n'drop implementations: Dragging in nested lists
The $.cssHooks object provides a way to define functions for getting and setting particular CSS values. It can also be...
Makandra cards will auto-detect the language used for syntax highlighting. This auto-detection sometimes fails for short code snippets...
You can specify the version of bundler to execute a command (most often you need an older version of bundler...
Updated the card with our current best practice (shared app code and specs via symlinks).
has_defaults is now a gem, no longer a plugin. The plugin version no longer exists. Note that plugins are...
Rack has a limit for how many form parameters it will parse. This limit is 65536 by default.