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...
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...
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...
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...
CSS (+ some Javascript) framework, implementing Google's material design for static web pages. Can be used for plain websites without...
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...
If you're supporting IE9+, you can listen to input to see if a text field changes. Other than change...
Note: ActiveRecord::Base#becomes has a lot of quirks and inconsistent behavior. You probably want to use ActiveType.cast instead.
Starting from 4.1, Rails automatically detects the inverse of an association, based on heuristics. Unfortunately, it does not seem to...
HTTP/2 will make our applications faster, simpler, and more robust—a rare combination—by allowing us to undo many of...
Since version 2.6 exception notifier distinguishes between foreground and background sections. The reason is that with background jobs (e.g. methods...