When running capybara with Chrome you might start seeing frequent "no alert open" errors when trying to interact with browser...
When you the following error: zsh: corrupt history file /home/marc/.zsh_history You can try and fix your history file by extracting...
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...
The team is responsible for building great software—that’s it. It’s the only thing the team is responsible...
Your after_commit callbacks will not know about changes, as Rails discards them when committing. The linked article shows a...
iPads will not trigger click events for all elements. You can fix that, but you don't want to know...
This blew my mind today: 12 Little-Known CSS Facts 12 Little-Known CSS Facts (The Sequel) Please make sure...
Very detailed guide to caching Ruby on Rails. Goes well with the official Rails guide on caching.
Running projects parallel makes some trouble with PDF generation. Use geordi rspec spec to force sequential tests for the whole...
If you see a stacktrace beginning with lines like this: E, [2015-07-16T09:23:10.896146 #23308] ERROR -- : app...
Sometimes you need to run background jobs that you can't make important guarantees about - they may run out of...
If a SOAP API expects you to call a remote method with arguments of complex types, Savon lets you manually...
Large projects usually have large test suites that can run for a long time. This can be annoying as running...
How can a client blame you for a cab driver’s mistake? How can a conference organizer hold you accountable...
CSS (+ some Javascript) framework, implementing Google's material design for static web pages. Can be used for plain websites without...
In most of our applications, users have their first and last name stored in separate columns. However, specifying them separately...
When using ORDER BY "column" in PostgreSQL, NULL values will come last. When using ORDER BY "column" DESC, NULLs will...
Disabling auto-complete in login forms is probably a bad idea, since it encourages weak passwords. If you are still...
SmartUnderline is an open-source JavaScript library which uses clever tricks to draw underlines in a more beautiful and readable...
If you need to follow links, click buttons, etc. using Capybara inside an , you can do it like this:
In my RubyMine I have recorded two macros for debugging and linked them to some keyboard shortcuts. Since I believe...
CSS support in major e-mail clients is horrible. This will give you an overview what you will not be...
Insanely detailled guide about controlling copy & paste behavior using web technology in 2015. Note that you can now trigger a...