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
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...
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...
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...
Large projects usually have large test suites that can run for a long time. This can be annoying as running...
Understand the differences between git diff and git diff --staged (or git diff --cached) Understand the difference between git...
Get an idea of the varying support for HTML/CSS/JavaScript features in different browsers like Chrome, Firefox, Internet Explorer, Edge...
Learn Enough Command Line to be Dangerous (it's in our library => Google Drive) CLI tricks every developer should...
Action Mailer Basics and Previews Chapter "Task H1: Sending Confirmation Emails" from Agile Web Development with Rails (in our...
Learn to treat files as an ActiveRecord attribute type, like :string or :integer Research Look at the README for...
In this card we will learn to write code that scales with a large number of database records. We will...
CSS (+ some Javascript) framework, implementing Google's material design for static web pages. Can be used for plain websites without...
Read the following chapters from The Pragmatic Programmer, anniversary edition (in our library): Chapter 1, Topic 3: Software Entropy...
Understand at least the following CSS concepts: Classes Selecting elements for styling Basic styling (color, typography, spacing)
Understand why we test: Low defect rate without a QA department. Customer acceptance testing can concentrate on new features...
Rails is our web framework. Goals Be able to write a simple Rails application. Understand how Rails talks to the...
Ruby is the programming language we use on the backend. Goals After finishing this lesson you should be able to...
Rails comes with grouped_collection_select that appears to be useful, but isn't. As an alternative, consider the flat...
Note: ActiveRecord::Base#becomes has a lot of quirks and inconsistent behavior. You probably want to use ActiveType.cast instead.