Capybara clears cookies before each scenario, but not other client-side data stores. If your app is using localStorage or...
You can configure a Ubuntu system as a gateway in order to share it's internet connection (maybe via WLAN...
Webpack is the future. We're using it in our latest Rails applications. For tests, we want to compile assets...
Rails default config uses the ActiveSupport::Cache::NullStore and disables controller caching for all environments except production: config.action_controller.perform_caching = false...
Nowadays it is fairly easy to intercept and modify mails globally before they are sent. All you have to do...
These tools help you in checking websites globally: DNS Checker This tool allows for global DNS propagation checking. GeoScreenshot
This is useful if, for example, you want to use a background-image that has to scale with the width...
Typhoeus has a different way of representing array params in a get request than RestClient. Typhoeus: http://example.com/?foo[0]=1&foo[1]=2&foo[2]=3
By default Middleman generates files with a .html extension. Because of this all your URLs end in /foo.html instead of...
Middleman is a static page generator that brings many of the goodies that Rails developers are used to.
Sometimes, through some firewall or proxy misconfiguration, you might have to deploy to a server that cannot access the git...
Assuming you're wanting to undo the effects of git rm or rm followed by git add -A or something...
In case you want to require a gem, that is not in the Gemfile of you bundle and therefore not...
This card compares patterns to store trees in a relation database like MySQL or PostgreSQL. Implementation examples are for the...
When you load a dump for development, records may reference images that are not available on your machine.
Sometimes you want/have to send specific http(s) requests. You can do that easy with curl or just write the...
Barby is a great Ruby gem to generate barcodes of all different sorts. It includes support for QR codes via...
This is a visualization of the files that will be generated by some useful rails generators. Invoke a generator from...
This is not an issue in newer versions of HAML (starting with 5.0.0), as the ugly-option was removed...
There are various ways to run external commands from within Ruby, but the most powerful ones are Open3.capture3 and Open3.popen3...
Occasionally, you have to talk to APIs via HTTPS that use a custom certificate or a misconfigured certificate chain (like...
/home/.../ruby/gems/2.1.0/gems/bundler-1.14.3/lib/bundler/rubygems_ext.rb:45:in `full_gem_path': uninitialized constant Bundler::Plugin::API::Source (NameError) Solution: Upgrade Rubygems beyond 2.6.9...
We have projects that have been developed using many different versions of Ruby. Since we do not want to...
On application servers, gems are usually bundled into the project directory, at a location shared across deployments. This is usually...