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

makandra Curriculum

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

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

JavaScript is a scripting language supported by all browsers. Browsers don't speak Ruby, so if we want to implement...

makandra Curriculum

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

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

guides.rubyonrails.org

Starting from 4.1, Rails automatically detects the inverse of an association, based on heuristics. Unfortunately, it does not seem to...

bevacqua.github.io

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

trackduck.com

Service that you can integrate for user feedback. Super-simple integration: Add a tag to your layout, done. It will then add a button to the bottom right of your application. When a user clicks it, they can take a screenshot and leave a message. The screenshot then appears in TrackDuck's interface for you to work off. Current pricing is 9 USD per month for the smallest tier (1 project).

makandra dev
plugins.jetbrains.com

There are times when you have a chunk of text that you want to do something with, e.g. replace something...

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

makandra dev

TL;DR Block formatting contexts establish an isolating container. float and clear only apply to elements within such a container...

markembling.info

Using uncountable resources is not recommended as it breaks Rails' magic, e.g. when using form_for. You'll always be...

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

edgeguides.rubyonrails.org

Rails guide that covers PostgreSQL-specific column types and usages for Active Record. You should especially keep in mind the...

makandra dev
mailru.github.io

A set of javascript tools for working with files. It offers different kinds of things: A cross-browser JS API...

Today in computer: In Coffeescript, on and yes are aliases for true. off and no are aliases for false.

makandra dev
blog.pixelastic.com

Angular 1.3 offers $setDirty for your ngModelController. If you are stuck on Angular 1.2, do this: model.$setViewValue(model.$viewValue...

askubuntu.com

Adobe no longer supports their PDF reader on Linux and the official page does not offer it for download. \

makandra dev
github.com

Clamps (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too...

One of the many useful features of TextMate is autocompletion of words. If I were in TextMate right now, I...

Rails migrations allow you to use a change method whose calls are automatically inverted for the down path. However, if...

By default, Twitter Bootstrap's print styles include printing links. /* Bootstrap's way of printing URLs */ @media print {