PostgreSQL offers a really handy field type: json. You can store any JSON there, in any structure. While its flexibility...
You know that Devise offers RSpec test helpers for controller specs. However, in request specs, they will not work.
With "attaching an event handler once" you possibly mean one of these two things: Register a function for an event...
Note This card does not reflect the current state of lazy loading technologies. The native lazy attribute could be used...
Sometimes you just want to have a small web server that serves files to test something. Serve the current directory...
While you usually do not need a Content-Type on GET request (which have a blank body), an external API...
PostgreSQL's array data type is pretty useful, but manipulating values of arrays can be awkward because of its syntax...
What is a Cookie? Google it if you do not know. How are cookies transferred between your browser and...
Some tasks in a web application are better not done live when a user request a page, but in the...
When a method has keyword arguments, Ruby offers implicit conversion of a Hash argument into keyword arguments. This conversion is...
A fantastic guide for a dilemma facing any web-based product. Here’s a simple set of Yes/No questions that...
As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...
This is how you regain disk space from OpenStack instances if you are using kvm and qcow. If your instance...
Method lookup Understand all the terms in How Ruby method lookup works, in particular: include extend singleton class
While debugging an intricate issue with failed HTTP requests I have come to appreciate the more advanced features of the...
If you need to upgrade code that uses the old jQuery methods bind, delegate, live, unbind and die, the attached...
Your MovieDB gained traction and is now a popular tool among cineasts. This comes with a downside: You noticed a...
Built-in matchers Get an overview of all the matchers that are built into RSpec. Play with some of...
Understand how asynchronous JavaScript works: Read Henning's presentation about asynchronous Javascript (there's also a German video presentation...
Exercise 1: Maps In MovieDB, add a new field “Principal filming location”. In a movie’s show view, geocode that...
Free Bootstrap theme resembling Material Design. Bootswatch offers Sass and Less files, so the theme can easily be integrated into...
Rubymonk training Read the following Rubymonk articles: Ruby Primer: Ascent (archived copy) Metaprogramming Ruby (archived copy) Metaprogramming Ruby: Ascent (archived...
Stepping forward from JavaScript Basics, the goal of this card is for you to be able to read and write...
Jasmine comes with two matchers that test for equality. The first is toBe: expect(first).toBe(second) toBe passes when...