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

Learn to treat files as an ActiveRecord attribute type, like :string or :integer Research Look at the README for...

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

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

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

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

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

bevacqua.github.io

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

jasmine.github.io

Jasmine has a jasmine.clock() helper that you can use to travel through time and trigger setTimeout and setInterval callbacks:

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

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

makandra dev
yoyo.io

Fontawesome 4 ships with many useful CSS helper classes. Enlarge Icon Add fa-lg (133%), fa-2x, fa-3x, fa...

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

makandra dev
relishapp.com

RSpec 3 has verifying doubles. This breed of mock objects check that any methods being stubbed are present on an...

If you need to log to a file you can use Ruby's Logger class: require 'logger'

github.com

You can hook into Slack when using Capistrano for deployment. The slackistrano gem does most of the heavy lifting for...

This guide shows how to create an AngularJS application that consumes more and more memory until, eventually, the browser process...

makandra dev
github.com

Geordi 1.0 features a command line application geordi, that holds most of Geordi's previous commands. New features

Add gem 'database_cleaner' to your Gemfile. Then: Cucumber & Rails 3+ # features/support/database_cleaner.rb DatabaseCleaner.clean_with(:deletion) # clean once, now DatabaseCleaner.strategy = :transaction...

When navigating back to a page that was received from a POST request, undesired side effects may happen. Therefore, modern...

Here is a Javascript function reloadUsers() that fetches a HTML snippet from the server using AJAX and replaces the current...