Many of our clients can't or don't want to design their user interfaces. In the absence of a...

makandra Curriculum

Your MovieDB gained traction and is now a popular tool among cineasts. This comes with a downside: You noticed a...

We are using the BEM pattern ("Block, Element, Modifier") to structure our CSS in all new projects. We try to...

makandra Curriculum

Built-in matchers Get an overview of all the matchers that are built into RSpec. Play with some of...

aws.amazon.com

I am happy to announce that this information is now available in JSON form at https://ip-ranges.amazonaws.com/ip-ranges.json. The information...

makandra Curriculum

Read the Rails Guide about Active Record migrations Understand why we never use models in migrations. Checkout the repository...

Understand how asynchronous JavaScript works: Read Henning's presentation about asynchronous Javascript (there's also a German video presentation...

As you most likely know validates_uniqness_of :foreign_id does not allow nil values by default.

Use form models to handle this problem Or soften the validation to validates_presence_of :parent

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:

In tests, it is sometimes useful to create records with specific ids. On PostgreSQL this can cause problems: Usually, PostgreSQL...

makandra Curriculum

Read (or re-read) the following chapters from our book Growing Rails Applications in Practice (it’s in our...

A common task in web applications is to add client-side JavaScript behavior to existing HTML elements.

The migration DSL now supports adding and removing foreign keys. They are dumped to schema.rb as well. At this time...

Learn to treat files as an ActiveRecord attribute type, like :string or :integer Research Look at the README for...

makandra Curriculum

In this card we will learn to write code that scales with a large number of database records. We will...

makandra Curriculum

Understand why we use pagination Exercises Create 7500 movies in MovieDB (hint: Doing it in a single transaction is...

In most of our applications, users have their first and last name stored in separate columns. However, specifying them separately...

makandra Curriculum

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...

makandra Curriculum

Git is our version control system. Goals Understand why we use git. Learn how to work with your local repository...

When using ORDER BY "column" in PostgreSQL, NULL values will come last. When using ORDER BY "column" DESC, NULLs will...

In my RubyMine I have recorded two macros for debugging and linked them to some keyboard shortcuts. Since I believe...