Rubymonk training Read the following Rubymonk articles: Ruby Primer: Ascent (archived copy) Metaprogramming Ruby (archived copy) Metaprogramming Ruby: Ascent (archived...
Watch Solving bizarre authorization requirements with Rails Read the Consul README Read the assignable_values README Understand how Consul...
CTRL + SHIFT + ALT + N Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc...
Authentication is all about being able to verify the identity of a user in the context of our application.
Goal of this lesson is to understand what middlewares in Rack are good for. Rack Start with these articles:
In tests, it is sometimes useful to create records with specific ids. On PostgreSQL this can cause problems: Usually, PostgreSQL...
Read (or re-read) the following chapters from our book Growing Rails Applications in Practice (it’s in our...
Stepping forward from JavaScript Basics, the goal of this card is for you to be able to read and write...
A common task in web applications is to add client-side JavaScript behavior to existing HTML elements.
Interesting hack to move expensive JSON.parse calls out of the main thread.
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 easiest way to freeze or travel through time in a Jasmine spec is to use the built-in jasmine.clock...
If you are writing any amount of Javascript, you are probably using closures to hide local state, e.g. to have...
The Bullet gem is designed to help you increase your application's performance by reducing the number of queries it...
The migration DSL now supports adding and removing foreign keys. They are dumped to schema.rb as well. At this time...
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...
If you need the debug output of the puppetmaster running with passenger you have to uncomment this setting in the...
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...