Sometimes you just want to have a small web server that serves files to test something. Serve the current directory...
Installing SSL certificates usually implies additionally using intermediate certificates. If one of them is missing, some SSL client implementations might...
If you'd like to preview the crontab that whenever will deploy, run the following: bundle exec whenever
If you are writing any amount of Javascript, you are probably using closures to hide local state, e.g. to have...
ActiveModel supplies an errors object that behaves similar to a Hash. It can be used to add errors to a...
Note: Making a reverse proxy with nginx is much more straightforward. A reverse proxy is a "man in the middle...
Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...
To achieve this goal you have to setup the session store like the following example: MyApp::Application.config.session_store( :cookie_store...
Geordi 1.0 features a command line application geordi, that holds most of Geordi's previous commands. New features
Rails includes a way to see what an e-mail will look like. Integration to RSpec All you need to...
When putting phone numbers into web pages, you should use tel: links so smartphone users can click those numbers to...
You need to copy an entire website? Use wget like this: wget -kr http://host.tld/ This will fetch all content...
So you want to organize your I18n using multiple .yml files but your Rails 4.1 application simply won't use...
When your system is not running on English, you may sometimes want to run some applications and not use your...
We will be installing rbenv and ruby-build from our own fork, not from the Ubuntu sources. Installing rbenv
If you once had HTTP Strict Transport Security enabled for a domain, and you want to disable it again, you...
Use the following command to test if a server (in this example: makandra.com on port 443) uses Perfect Forward Secrecy...
Local testing allows you to test your private and internal servers using the BrowserStack cloud, which has support for firewalls...
If you want to switch to another ruby versions, you have several options, depending on what you want: Do you...
In /etc/rc.local add: service bluetooth stop
CarrierWave attachments have two distinct methods #url and #path which appear to behave the same: document.file.url # => /storage/documents/4/letter.doc document.file.path # => /storage/documents/4/letter.doc
Before Rails 3.2.14, when supplying an invalid locale to I18n, it would fall back to its config.i18n.default_locale (which is...
Today I ran into trouble installing therubyracer on Ruby 1.8. The installation failed with *** extconf.rb failed *** Could not create Makefile...
There may be reasons to change the locale of your Postgres cluster. A popular one is your development system's...