Spreewald comes with a selector_for helper that matches an English term like the user's profile into a CSS...
CTRL + SHIFT + ALT + N Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc...
Jasmine comes with two matchers that test for equality. The first is toBe: expect(first).toBe(second) toBe passes when...
tl;dr: Use event.currentTarget unless you are absolutely certain that you need event.target. Since it hasn't been written down...
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...
In most of our applications, users have their first and last name stored in separate columns. However, specifying them separately...
To disable the mostly useless automatic suggestion popups in RubyMine, go to File / Settings, then to Editor / General / Code Completion...
Since version 2.6 exception notifier distinguishes between foreground and background sections. The reason is that with background jobs (e.g. methods...
Note: Making a reverse proxy with nginx is much more straightforward. A reverse proxy is a "man in the middle...
When you register a delegated event using on (or the deprecated delegate / live), it is somewhat hard to manually trigger...
Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...
When you want to UPDATE a table with information from an associated table, you can JOIN the associated table into...
jquery-placeholder is a simple jQuery plugin that enables form placeholders in browsers that do not support them natively, i.e...
TL;DR Under certain circumstances, dynamically defined symbols may break keyword arguments in Ruby 2.2. This was fixed in Ruby...
Rails comes with a Rake task notes that shows code comments that start with "TODO", "FIXME", or "OPTIMIZE".
Code folding is a very useful feature to me. It gives me a quick overview over a file and keeps...
When using threads, you must make your code thread-safe. This can be done by either locking (mutexes) all data...
When ending a Selenium test Capybara resets the browser state by closing the tab, clearing cookies, localStorage, etc.
Nested exceptions for Ruby: When you rescue an error and then re-raise your own, you don't have to...
Web applications can be used by multiple users at the same time. A typical application server like Passenger has multiple...
Clever hack using data-attributes to assign labels to cells. It's still a massive duplication of code (labels), but...
The debate between using mixins or extends in Sass has been heating up recently. From the surface it appears they...