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

makandra Curriculum

We've already learned how to integrate user-provided images uploads to our application in 205 basic file uploads and...

makandra Curriculum

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

For each movie in MovieDB, we want to track which other movie it was inspired by. For...

It smells. Rethink your code design. Code example with makandra/has_defaults: class Post < ActiveRecord::Base has_defaults tags: [] # field in db...

makandra Curriculum

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

hacks.mozilla.org

Unfortunately, Web APIs haven’t provided the functionality to copy text to the clipboard through JavaScript, which is why visiting...

Spreewald comes with a selector_for helper that matches an English term like the user's profile into a CSS...

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

How do HTTP requests and responses look like? What are HTTP headers? What are they used for?

If you need a postgresql extension for your database it isn't a good idea to give your applications database...

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

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

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

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:

makandra Curriculum

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

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