If you come across an (older) application that is using Prototype instead of jQuery, you may often see events bound...
Use the following command to test if a server (in this example: makandra.com on port 443) uses Perfect Forward Secrecy...
Enter the hostname of a server to test it for CVE-2014-0160.
The Heartbleed Bug is a serious vulnerability in the popular OpenSSL cryptographic software library. This weakness allows stealing the information...
When using TextMate2 with the cucumber bundle, it does not recognize step definitions (e.g. custom_steps.rb) as such but believes they...
A look at Prawn, PDFKit, and Wicked PDF
Splitting a long method into sub methods is easier in instances since it is in classes. Since...
I recently had a need to demonstrate a data-heavy application to potential customers. Demonstrating the application with bogus numbers...
We now have a gem that supports our form model approach.
Internet Explorer on Windows 8 and 8.1 is available in a "Desktop version" and the metro version which is designed...
Ruby’s model for concurrency is based on threads. It was typical approach for object oriented languages, designed in the...
When you, as a developer, look at the choices used to build a particular application, you’re blown away at...
Local testing allows you to test your private and internal servers using the BrowserStack cloud, which has support for firewalls...
How to remove/disable the automatic XSS protection helper html escaping for Rails 3. This is probably a horrible idea.
Your development machine is usually on a very good network connection. To test how your application behaves on a slow...
By default, Rails' validates_uniqueness_of does not consider "username" and "USERNAME" to be a collision. If you use MySQL...
If you need to quickly find out the number of weekdays (Monday to Friday) between to given dates, try this...
Batman is an alternative Javascript MVC with a similar flavor as AngularJS, but a lot less features and geared towards...
When you call a method on an object, Ruby looks for the implementation of that method. It looks in the...
When you use a belongs_to or has_many macro you might be surprised that the methods that it generates...
Store each models version in a separate table class Post < ActiveRecord::Base has_paper_trail :class_name => 'PostVersion' end
Development environment setup Rails Composer Basically a comprehensive Rails Template. Prepares your development environment and lets you select web server...
To print a colored full-width bar on the bash, use this bash script expression: echo -e '\033[37;44m...
Just found out about a great feature in Rails that seems to be around since Rails 2. Start a console...