Here is how to start your Rails application to accept both HTTP and HTTPS in development. gem install passenger
Reason: You very likely have a model that has a delay attribute. You can configure Sidekiq to remove its delay...
Web security basics Einführung in die Web Security 🇩🇪 provides essentials for the topic of this card. Read following chapters:
Authentication is all about being able to verify the identity of a user in the context of our application.
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.
The easiest way to freeze or travel through time in a Jasmine spec is to use the built-in jasmine.clock...
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...
tl;dr: Use event.currentTarget unless you are absolutely certain that you need event.target. Since it hasn't been written down...
Your after_commit callbacks will not know about changes, as Rails discards them when committing. The linked article shows a...
This blew my mind today: 12 Little-Known CSS Facts 12 Little-Known CSS Facts (The Sequel) Please make sure...
Sometimes you need to run background jobs that you can't make important guarantees about - they may run out of...
Large projects usually have large test suites that can run for a long time. This can be annoying as running...
As developers we are dealing with many tasks every week. We need a system to organize ourselves. Goals After completing...
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 Mail" from Agile Web Development with Rails 7.2 (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...
In most of our applications, users have their first and last name stored in separate columns. However, specifying them separately...
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)