While you can use Apache as a reverse proxy, it tries to be too smart. Try nginx instead, it's...
While you usually do not need a Content-Type on GET request (which have a blank body), an external API...
Web fonts are great. They are also be really bad for front-end performance because they block rendering. You may...
Our applications not only need to be functional, they need to be fast. But, to quote Donald Knuth, premature optimization...
What is a Cookie? Google it if you do not know. How are cookies transferred between your browser and...
The asset pipeline is one of Rails' two mechanisms how stylesheets, javascripts and images from your /assets folder are processed...
Some tasks in a web application are better not done live when a user request a page, but in the...
Starting with Ruby 1.9, most #each methods can be called without a block, and will return an enumerator. This is...
A fantastic guide for a dilemma facing any web-based product. Here’s a simple set of Yes/No questions that...
To safely transport an arbitrary string within a URL, you need to percent-encode characters that have a particular meaning...
As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...
While debugging an intricate issue with failed HTTP requests I have come to appreciate the more advanced features of the...
Understand how nested attributes appear in the params. See how the Rails form helpers encode the names of nested...
I recommend install Node.js using nvm. This way you can have multiple Node versions in your ~/.nvm. You also won...
You have the following HTML structure:
If you want to run Javascript code whenever someone clicks on a ...
..., you...
In our daily life as web developers we are constantly faced with technical problems that can be solved with a...
We've already learned how to integrate user-provided images uploads to our application in 205 basic file uploads and...
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...
We use Selenium WebDriver integrated with Cucumber/Capybara for full-stack integration testing. Try and use it Your forked MovieDB should...
Built-in matchers Get an overview of all the matchers that are built into RSpec. Play with some of...
Ruby has Enumerable.find(&block), which returns the first item in the collection for which the block evaluates to true.
How do HTTP requests and responses look like? What are HTTP headers? What are they used for?
Learn to store attachments in a way that is accessible by authorized users only Learn to prevent users from...