Rails 5 migration classes look like this now: class CreateUsers < ActiveRecord::Migration[5.0] Mind the [5.0] at the end.
When you are calling Bundler from your shell scripts, you might find it useful that a failed bundle call returns...
ActiveSupport::Notifications provides an instrumentation API for Ruby. It is used throughout rails to publish instrumentation events that include information...
A few releases back, Chrome started using a Material Design UI on desktop. If you don't like it (on...
Similar to our snippet that runs all Cucumber features matching a given string, the following will run all modified or...
You know those helper methods that just render some HTML but look weird because of content_tags all over the...
In this article, we’ll look at what side effects are, why they are problematic despite being necessary, and how...
We have a new gem Minidusen which extracts Dusen's query parsing and LIKE query functionality. Minidusen can no longer...
If you were using Dusen for its query parsing and LIKE queries, we recommend to migrate to Minidusen, which extracts...
Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible. Git documentation...
There is no build in functionally in jQuery and Prototype to extract params from a url. You can use this...
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...
A new open source WYSIWYG editor that promises superior fidelity and customizability. This might be a future alternative to Redaktor...
Things to check first Do you deliver fonts in a format that the target IE version understands? Did you double...
Promises are the new way™ to express "Do this, and once you're done, do that". In contrast to callbacks...
Sometimes you want to test migrations with production or staging data. Dumping single tables makes sense if a complete dump...
Angular directives with isolate scopes have three different variable binding strategies, of which one is =. Example: # HTML # Coffeescript @app.directive 'panel...
On OSX (real or inside Browserstack), you need different keystrokes for your favorite special characters than you'd use on...
Isolate scopes offer three kinds of variable binding. One of them is &, allowing to bind a property of the isolate...
There's no user interface to give an AWS IAM user read/write access to a selected list of S3 buckets...
If you need to modify (e.g. add 2px) a Sass variable that defines multiple values as one (e.g. for short...