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

If you hover over the text of a card, you will now see EDIT links at the top right corner...

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

If you are writing any amount of Javascript, you are probably using closures to hide local state, e.g. to have...

makandra dev
github.com

The Bullet gem is designed to help you increase your application's performance by reducing the number of queries it...

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

makandra dev
getmdl.io

CSS (+ some Javascript) framework, implementing Google's material design for static web pages. Can be used for plain websites without...

Disabling auto-complete in login forms is probably a bad idea, since it encourages weak passwords. If you are still...

campaignmonitor.com

CSS support in major e-mail clients is horrible. This will give you an overview what you will not be...

duri.me

Small web application where you can upload an image (PNG, JPEG, GIF) and generate a base64-encoded version of it...

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

Note: ActiveRecord::Base#becomes has a lot of quirks and inconsistent behavior. You probably want to use ActiveType.cast instead.

Developing complex regular expressions quickly blows my mind. Here are some online regex editors that help you by highlighting matching...

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

Please don't use the horrible datetime_select helper. It has a terrible UI. Always prefer to use a visual...

When using Savon to connect a SOAP API, you may want to use Savon::SpecHelper to mock requests in your...

jasmine.github.io

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

github.com

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

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

To use a form model with devise, you can simply override #resource_class in a controller. A typical use case...

makandra dev
yoyo.io

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