makandra Curriculum

Understand why we test: Low defect rate without a QA department. Customer acceptance testing can concentrate on new features...

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

makandra Curriculum

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

makandra is responsible for maintaining about 75 Ruby projects. These projects use a large number of different versions for Ruby...

makandra Curriculum

Ruby is the programming language we use on the backend. Goals After finishing this lesson you should be able to...

If you're supporting IE9+, you can listen to input to see if a text field changes. Other than change...

To disable the mostly useless automatic suggestion popups in RubyMine, go to File / Settings, then to Editor / General / Code Completion...

postgresql.org

There is no such thing as a "default order" of rows in database tables. For instance, when you paginate a...

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

When you register a delegated event using on (or the deprecated delegate / live), it is somewhat hard to manually trigger...

makandra dev
semaphoreci.com

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

askubuntu.com

I was annoyed that RubyMine's autocompletion did not work via Ctrl+Space for me. In fact, it did not...

bevacqua.github.io

Datetime picker that offers: simple UI without a specific framework several of customization options allows custom date/time validations Localization happens...

gist.github.com

Re-creating a complex ActiveRecord scenario quickly without setting up a full-blown Rails app can come in handy e.g...

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

github.com

jquery-placeholder is a simple jQuery plugin that enables form placeholders in browsers that do not support them natively, i.e...

bugs.ruby-lang.org

TL;DR Under certain circumstances, dynamically defined symbols may break keyword arguments in Ruby 2.2. This was fixed in Ruby...

Rails comes with a Rake task notes that shows code comments that start with "TODO", "FIXME", or "OPTIMIZE".

makandra dev

Code folding is a very useful feature to me. It gives me a quick overview over a file and keeps...

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.