makandra Curriculum

Read (or re-read) the following chapters from our book Growing Rails Applications in Practice (it’s in our...

A common task in web applications is to add client-side JavaScript behavior to existing HTML elements.

makandra dev

To change RAM size, VDISK size or VCPU count of an openstack instance you have to use nova resize. You...

Large projects usually have large test suites that can run for a long time. This can be annoying as running...

As developers we are dealing with many tasks every week. We need a system to organize ourselves. Goals After completing...

makandra Curriculum

Learn Enough Command Line to be Dangerous (it's in our library => Google Drive) CLI tricks every developer should...

Action Mailer Basics and Previews Chapter "Task H1: Sending Mail" from Agile Web Development with Rails 7.2 (in our...

makandra Curriculum

Understand at least the following CSS concepts: Classes Selecting elements for styling Basic styling (color, typography, spacing)

makandra Curriculum

Git is our version control system. Goals Understand why we use git. Learn how to work with your local repository...

If you need to follow links, click buttons, etc. using Capybara inside an , you can do it like this:

campaignmonitor.com

CSS support in major e-mail clients is horrible. This will give you an overview what you will not be...

Since version 2.6 exception notifier distinguishes between foreground and background sections. The reason is that with background jobs (e.g. methods...

Note: Making a reverse proxy with nginx is much more straightforward. A reverse proxy is a "man in the middle...

sslscan is a nice tool to show details about TLS/SSL connections: ~> sslscan some-host-at.makandra.de Testing SSL server some-host-at.makandra.de on port 443...

makandra dev
semaphoreci.com

Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...

When using Savon to connect a SOAP API, you may want to use Savon::SpecHelper to mock requests in your...

Investigate why mails are frozen The exim documentation says: Freezing occurs when a bounce message encounters a permanent failure because...

You might wonder about this request in your test.log: Started GET "/__identify__" for 127.0.0.1 at 2015-04-29 18:00...

edgeapi.rubyonrails.org

Starting from Rails 4.0, you can use a special form options helper called #collection_check_boxes. It behaves similar to...

When using threads, you must make your code thread-safe. This can be done by either locking (mutexes) all data...

When ending a Selenium test Capybara resets the browser state by closing the tab, clearing cookies, localStorage, etc.

There are some frontends available, but they all suck, are no longer maintained or are hard to install.

makandra dev
github.com

Nested exceptions for Ruby: When you rescue an error and then re-raise your own, you don't have to...

Web applications can be used by multiple users at the same time. A typical application server like Passenger has multiple...