tig is a command line explorer for Git that is just awesome. Install via apt-get or brew. Handy commands...
CTRL + SHIFT + ALT + N Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc...
In tests, it is sometimes useful to create records with specific ids. On PostgreSQL this can cause problems: Usually, PostgreSQL...
To change RAM size, VDISK size or VCPU count of an openstack instance you have to use nova resize. You...
Jasmine comes with two matchers that test for equality. The first is toBe: expect(first).toBe(second) toBe passes when...
The migration DSL now supports adding and removing foreign keys. They are dumped to schema.rb as well. At this time...
Your after_commit callbacks will not know about changes, as Rails discards them when committing. The linked article shows a...
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...
In most of our applications, users have their first and last name stored in separate columns. However, specifying them separately...
If you're supporting IE9+, you can listen to input to see if a text field changes. Other than change...
To disable the mostly useless automatic suggestion popups in RubyMine, go to File / Settings, then to Editor / General / Code Completion...
There is no such thing as a "default order" of rows in database tables. For instance, when you paginate a...
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...
I was annoyed that RubyMine's autocompletion did not work via Ctrl+Space for me. In fact, it did not...
Datetime picker that offers: simple UI without a specific framework several of customization options allows custom date/time validations Localization happens...
Re-creating a complex ActiveRecord scenario quickly without setting up a full-blown Rails app can come in handy e.g...
When you want to UPDATE a table with information from an associated table, you can JOIN the associated table into...
Several Rails migration methods accept index: true as an option to create an index. In some cases (like #add_column...