A nicely decoupled Angular UI component that can easily be reused across applications.
Why is it that when you assign a property to an Active Record model and read it back, the value isn’t always the same?
Use composition to build more complex SQL queries in Ruby
using ActiveRelation’s API.
Convert a CoffeeScript function that takes multiple arguments
into a chain of functions that take one argument each.
This is called function currying,
and it can make your easier to understand!
How to use ActiveRecord’s NullRelation.
The end result is a beautiful transition and zero conditionals.
Asynchronicity isn’t just for concurrency, and promises aren’t just for XHR.