There are two ways within systemd to manage the fact that you need the gluster service active before mounting the...
When your application is running on a multi-server setup, application logs are stored per server (unless you choose a...
By default, Capistrano truncates server responses and places an ellipsis at the end of lines that are longer than your...
You know that you can use jQuery's text() to get an element's contents without any tags.
If your rails application is unable to send mails, it might be useful to debug your settings using the rails...
For outputting a given String in HTML, you mostly want to replace line breaks with or tags.
When you have a large PG database, you may want to find out which tables are consuming the most disk...
Sometimes, the IRB prints a warning during boot: irb: warn: can't alias source from irb_source. Explanation
Touch devices have their own set of events like touchstart or touchmove. Because mobile browsers should also work with with...
CarrierWave comes with some RSpec matchers which will make testing more comfortable. Let's say you have an Uploader like...
Recent Bundler (1.16.1) started complaining about missing dependencies in the Gemfile. This is due to a stricter handling of specifications...
If freshclam updates are failing even though the update servers are available and you find error messages like the following...
Lets say we have a user with a contract whereas contract is a mounted carrierwave file. Now we want to...
This might be a known issue with Rubygems 2.5.1. This will help: gem update --system
CSS Flexbox has become extremely popular amongst front-end developers the last couple of years. This isn’t surprising, as...
When you need test images, instead of using services like lorempixel or placehold.it you may generate test images yourself.
The attached article explains options you have to store the order of items in a database table. The simplest solution...
When you find yourself constantly ignoring a RubyMine warning, you can simple disable that warning and de-clutter your editor...
geordi delete_dumps [directory] Recursively search for files ending in *.dump and offer to delete those. When no...
You might have some trouble running a Rails LTS 2 app with MySQL 5.7. If you don't want to...
On your local system that only hosts non-critical development data and only you have access to, you can store...
Rails offers a way to prepend (or append) view paths for the current request. This way, you can make the...
The httpclient gem comes with a custom SSL cert store. While an customizable, application-level cert store is great when...
When you have string contents (e.g. a generated binary stream, or data from a remote source) that you want to...