Method lookup Understand all the terms in How Ruby method lookup works, in particular: include extend singleton class
While debugging an intricate issue with failed HTTP requests I have come to appreciate the more advanced features of the...
Many of our clients can't or don't want to design their user interfaces. In the absence of a...
Ruby has Enumerable.find(&block), which returns the first item in the collection for which the block evaluates to true.
To update your Rubygems to the latest available version, type the following: gem update --system Note that you have a...
On Ruby 1.9+, standard ruby character classes like \w, \d will only match 7-Bit ASCII characters: "foo" =~ /\w+/ # matches...
What is rake good for? Take a look at some of the Rake tasks that Rails gives you (rake...
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...
To check which rubygems versions your different rbenv rubys are using, you can use this small bash script:
There is no single place to look up documentation for our stack. This card includes some hints where you can...
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...
CTRL + SHIFT + ALT + N Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc...
Goal of this lesson is to understand what middlewares in Rack are good for. Rack Start with these articles:
Very detailed guide to caching Ruby on Rails. Goes well with the official Rails guide on caching.
If a SOAP API expects you to call a remote method with arguments of complex types, Savon lets you manually...
Learn Enough Command Line to be Dangerous (it's in our library => Google Drive) CLI tricks every developer should...
Understand what Memoization is and when it can be useful. Understand the @variable ||= computation pattern. Learn how to use...
In this card we will learn to write code that scales with a large number of database records. We will...
Learn to read and write Haml. Understand the different attributes syntaxes (curly braces vs. round parentheses) Exercises Convert MovieDB...
JavaScript is a scripting language supported by all browsers. Browsers don't speak Ruby, so if we want to implement...
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...