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

In a web application you often need to move data between the client (HTML, Javascript) and the server (Ruby, Rails...

Exercise 1: Maps In MovieDB, add a new field “Principal filming location”. In a movie’s show view, geocode that...

You can include files from app/assets or from the public folder with javascript_include_tag. The subtle difference that tells...

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

There is no single place to look up documentation for our stack. This card includes some hints where you can...

makandra Curriculum

makandra's development process Learn about our process. The squares represent the state of the issue in Linear:

If you hover over the text of a card, you will now see EDIT links at the top right corner...

A word of caution There should rarely be a reason for you to split up config/routes.rb. If you need to...

Use base_class. This traverses up the hierarchy until it encounters either a class inheriting from ActiveRecord::Base or

Here is how to start your Rails application to accept both HTTP and HTTPS in development. gem install passenger

Web security basics Einführung in die Web Security 🇩🇪 provides essentials for the topic of this card. Read following chapters:

Rubymonk training Read the following Rubymonk articles: Ruby Primer: Ascent (archived copy) Metaprogramming Ruby (archived copy) Metaprogramming Ruby: Ascent (archived...

makandra Curriculum

Watch Solving bizarre authorization requirements with Rails Read the Consul README Read the assignable_values README Understand how Consul...

makandra dev

CTRL + SHIFT + ALT + N Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc...

makandra Curriculum

Authentication is all about being able to verify the identity of a user in the context of our application.

makandra Curriculum

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

makandra Curriculum

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

azimi.me

Interesting hack to move expensive JSON.parse calls out of the main thread.