In our daily life as web developers we are constantly faced with technical problems that can be solved with a...
Talk with a colleague and find out why we're using building some of our sites using static site...
We are using the BEM pattern ("Block, Element, Modifier") to structure our CSS in all new projects. We try to...
Built-in matchers Get an overview of all the matchers that are built into RSpec. Play with some of...
You may encounter problems with passenger starting an application with an updated rails. If you find an error like this...
What is rake good for? Take a look at some of the Rake tasks that Rails gives you (rake...
Read the Rails Guide about Active Record migrations Understand why we never use models in migrations. Checkout the repository...
In a web application you often need to move data between the client (HTML, Javascript) and the server (Ruby, Rails...
You can include files from app/assets or from the public folder with javascript_include_tag. The subtle difference that tells...
There is no single place to look up documentation for our stack. This card includes some hints where you can...
A word of caution There should rarely be a reason for you to split up config/routes.rb. If you need to...
MarcoPolo shows your app name and environment in your console prompt so you don't accidentally break production Officially supporting...
Here is how to start your Rails application to accept both HTTP and HTTPS in development. gem install passenger
Free Bootstrap theme resembling Material Design. Bootswatch offers Sass and Less files, so the theme can easily be integrated into...
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...
Watch Solving bizarre authorization requirements with Rails Read the Consul README Read the assignable_values README Understand how Consul...
Authentication is all about being able to verify the identity of a user in the context of our application.
Goal of this lesson is to understand what middlewares in Rack are good for. Rack Start with these articles:
Read (or re-read) the following chapters from our book Growing Rails Applications in Practice (it’s in our...
The migration DSL now supports adding and removing foreign keys. They are dumped to schema.rb as well. At this time...
Your after_commit callbacks will not know about changes, as Rails discards them when committing. The linked article shows a...
Very detailed guide to caching Ruby on Rails. Goes well with the official Rails guide on caching.
Understand the differences between git diff and git diff --staged (or git diff --cached) Understand the difference between git...