In Capistrano 3, your Capfile requires 'capistrano/rails/migrations', which brings two Capistrano tasks: deploy:migrate and deploy:migrating. The former checks...
Plugins (and gems) are typically tested using a complete sample rails application that lives in the spec folder of the...
Travis changed their default distribution from Ubuntu 14.04 (trusty) to 16.04 (precise). This might break your test setup for new...
Rails 5.2 soft-deprecated the storage of secrets in secrets.yml in favor of a new thing, credentials.yml.enc. Rails 7.1 deprecated...
To only run the next two migrations: rake db:migrate STEP=2 To revert the previous two migrations:
Rack has a limit for how many form parameters it will parse. This limit is 65536 by default.
Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...
jQuery as new default Javascript library, streaming response support, attr_accessible with roles, prepared statements, easier migrations.
Rails 4.0 is finally ready after a thorough process of betas and release candidates. It's an amazing new version...
Katapult 0.3.0 brings Rails 5 and Ruby 2.5 support with a new design, plus a ton of smaller features, fixes...
Haml 3.1.2 displays single quotes in FormBuilder#text_ field html escaped. You may see something like that:
Firefox 5.0.1, which we were using for most Rails 2.3 projects, does not run on Ubuntu 14.04 any more. Here...
The nokogiri gem provides different packages for several platforms. Each platform-specific variant ships pre-built binaries of libxml2, e.g...
Sometimes we have to write code that behaves differently based on the version of a specific gem or the Ruby...
RSpec 3.0 deprecates the :should way of writing specs for expecting things to happen. However, if you have tests you...
If your app does not need to support IE11, you can use most ES6 features without a build step. Just...
tl;dr Don't forget require 'English' if you use a named global such as $LAST_MATCH_INFO. Otherwise this...
webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...
CSP hat zum Ziel einen Browser-seitigen Mechanismus zu schaffen um einige Angriffe auf Webseiten zu verhindern, hauptsächlich XSS...
This card explains how to install RubyMine for the first time. If you want to upgrade an existing RubyMine installation...
Most of the time it is a tedious task to apply a code style guide to an existing code...
Let's say you have a gem which has the following module: # within the imaginary super gem module SuperClient
When projects run for many years, they require special regular maintenance to stay fresh. This kind of maintenance is usually...
So you're getting an error like this: undefined method `activate_bin_path' for Gem:Module (NoMethodError)
Best results in other decks
In our daily life as web developers we are constantly faced with technical problems that can be solved with a...
makandra is responsible for maintaining about 75 Ruby projects. These projects use a large number of different versions for Ruby...