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.
Software engineering principles Read about the following software engineering principles and code smells: Single Responsibility Principle Law of Demeter
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...
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...
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...
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...
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...