Your MovieDB gained traction and is now a popular tool among cineasts. This comes with a downside: You noticed a...
DevDocs combines multiple API documentations in a fast, organized, and searchable interface. Here's what you should know before you...
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
tig is a command line explorer for Git that is just awesome. Install via apt-get or brew. Handy commands...
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...
Understand the differences between git diff and git diff --staged (or git diff --cached) Understand the difference between git...
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...
There is no such thing as a "default order" of rows in database tables. For instance, when you paginate a...
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...
Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...
Please don't use the horrible datetime_select helper. It has a terrible UI. Always prefer to use a visual...
When you want to UPDATE a table with information from an associated table, you can JOIN the associated table into...
Several Rails migration methods accept index: true as an option to create an index. In some cases (like #add_column...