makandra Curriculum

Understand how nested attributes appear in the params. See how the Rails form helpers encode the names of nested...

If you have problems installing a gem and get a error collect2: error: ld returned 1 exit status it's...

We organize our daily work with issues in our Linear workspace. Issue format A good issue needs to be precise...

PhantomJS has no binary builds for Linux, and building it yourself is painful. However, you can install it through npm...

makandra dev

First install Node.js / npm. Then you can install Bower through npm: sudo npm install -g bower

digitalocean.com

I recommend install Node.js using nvm. This way you can have multiple Node versions in your ~/.nvm. You also won...

makandra Curriculum

Your MovieDB gained traction and is now a popular tool among cineasts. This comes with a downside: You noticed a...

makandra dev
devdocs.io

DevDocs combines multiple API documentations in a fast, organized, and searchable interface. Here's what you should know before you...

makandra Curriculum

Built-in matchers Get an overview of all the matchers that are built into RSpec. Play with some of...

If you need a postgresql extension for your database it isn't a good idea to give your applications database...

Use form models to handle this problem Or soften the validation to validates_presence_of :parent

makandra dev

tig is a command line explorer for Git that is just awesome. Install via apt-get or brew. Handy commands...

makandra dev

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

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

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

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

makandra Curriculum

Understand the differences between git diff and git diff --staged (or git diff --cached) Understand the difference between git...

makandra Curriculum

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

In this card we will learn to write code that scales with a large number of database records. We will...

Read the following chapters from The Pragmatic Programmer, anniversary edition (in our library): Chapter 1, Topic 3: Software Entropy...

Rails is our web framework. Goals Be able to write a simple Rails application. Understand how Rails talks to the...

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

In my RubyMine I have recorded two macros for debugging and linked them to some keyboard shortcuts. Since I believe...

Rails comes with grouped_collection_select that appears to be useful, but isn't. As an alternative, consider the flat...