makandra dev

Each time thin boots, it prints a boot message : Thin web server (v1.6.3 codename Protein Powder) Maximum connections set to...

A word of caution There should rarely be a reason for you to split up config/routes.rb. If you need to...

Here is how to start your Rails application to accept both HTTP and HTTPS in development. gem install passenger

makandra dev
bootswatch.com

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...

makandra Curriculum

Watch Solving bizarre authorization requirements with Rails Read the Consul README Read the assignable_values README Understand how Consul...

makandra dev

CTRL + SHIFT + ALT + N Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc...

makandra Curriculum

Authentication is all about being able to verify the identity of a user in the context of our application.

In tests, it is sometimes useful to create records with specific ids. On PostgreSQL this can cause problems: Usually, PostgreSQL...

makandra Curriculum

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

Stepping forward from JavaScript Basics, the goal of this card is for you to be able to read and write...

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

Software engineering principles Read about the following software engineering principles and code smells: Single Responsibility Principle Law of Demeter

Jasmine comes with two matchers that test for equality. The first is toBe: expect(first).toBe(second) toBe passes when...

The migration DSL now supports adding and removing foreign keys. They are dumped to schema.rb as well. At this time...

tl;dr: Use event.currentTarget unless you are absolutely certain that you need event.target. Since it hasn't been written down...

pivotaltracker.com

The team is responsible for building great software—that’s it. It’s the only thing the team is responsible...

leomayleomay.github.io

Your after_commit callbacks will not know about changes, as Rails discards them when committing. The linked article shows a...

iPads will not trigger click events for all elements. You can fix that, but you don't want to know...

Running projects parallel makes some trouble with PDF generation. Use geordi rspec spec to force sequential tests for the whole...

If you see a stacktrace beginning with lines like this: E, [2015-07-16T09:23:10.896146 #23308] ERROR -- : app...

makandra dev
github.com

Sometimes you need to run background jobs that you can't make important guarantees about - they may run out of...

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