When you make a simple TCP connection to a remote server (like telnet), your client won't normally notice when...
If you get an error like: subprocess installed post-removal script returned error exit status 78 when installing/removing/updating a package...
Ruby allows multiple assignment: a, b, c = o In order to prove multiple values from a single object, Ruby calls...
Starting with Ruby 1.9, most #each methods can be called without a block, and will return an enumerator. This is...
As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...
If you have problems installing a gem and get a error collect2: error: ld returned 1 exit status it's...
If the project team consists of at least 2 members, do a daily standup. It should not take much longer...
We organize our daily work with issues in our Linear workspace. Issue format A good issue needs to be precise...
Spreewald comes with a selector_for helper that matches an English term like the user's profile into a CSS...
You may encounter problems with passenger starting an application with an updated rails. If you find an error like this...
Jasmine comes with two matchers that test for equality. The first is toBe: expect(first).toBe(second) toBe passes when...
In Capistrano 2, directories in shared_children used to be symlinked to the shared directory during the finalize_update task...
tl;dr: Use event.currentTarget unless you are absolutely certain that you need event.target. Since it hasn't been written down...
sslscan is a nice tool to show details about TLS/SSL connections: ~> sslscan some-host-at.makandra.de Testing SSL server some-host-at.makandra.de on port 443...
Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...
Re-creating a complex ActiveRecord scenario quickly without setting up a full-blown Rails app can come in handy e.g...
Several Rails migration methods accept index: true as an option to create an index. In some cases (like #add_column...
dmesg shows the kernel ring buffer containing low-level system messages. Per default, dmesg shows a timestamp:
When using send_file (for example for attachments of any kind), make sure your application knows the correct mime types...
You can freeze any Ruby object to prevent further modification. If you freeze an ActiveRecord and try to set an...
If you want to grow a Ruby Array, you might find out about #fill but it is not really what...
Starting from Rails 4.0, you can use a special form options helper called #collection_check_boxes. It behaves similar to...
Web applications can be used by multiple users at the same time. A typical application server like Passenger has multiple...
RSpec 3 has verifying doubles. This breed of mock objects check that any methods being stubbed are present on an...