Is there such a thing as a fast enough web application? Just how important is performance when choosing a web framework or even a programming language for a web application?
RSpec is a very expressive testing framework with many great features and helpers to make tests readable. When writing RSpec tests, here are just a few not so obvious hints that could make tests even easier to write, read, and maintain.
In Rails 5 each migration class is inherited from `ActiveRecord::Migration[5.0]`. It looks quite unusual to see that `[5.0]` part at the end of the parent class. In this article I'll describe why we might need it and how it works.
Let's leverage Postgres for generating fast CSV responses. By using the COPY command, we can stream the results of our complex query directly to STDOUT in CSV format.