developer.mozilla.org

When building a form with a file select field, you may want to offer your users a live preview before...

workaround.org

You will need to look here and find your own device. Look for the "bootable CD" download, which will give...

To upload a file via AJAX (e.g. from an ) you need to wrap your params in a FormData object.

TL;DR There are three dimensions you can control when scoping routes: path helpers, URL segments, and controller/view module.

postgresql.org

PostgreSQL offers a really handy field type: json. You can store any JSON there, in any structure. While its flexibility...

github.com

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

makandra dev
github.com

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

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

github.com

When a method has keyword arguments, Ruby offers implicit conversion of a Hash argument into keyword arguments. This conversion is...

blog.intercom.io

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

bibwild.wordpress.com

While debugging an intricate issue with failed HTTP requests I have come to appreciate the more advanced features of the...

andismith.com

If you need to upgrade code that uses the old jQuery methods bind, delegate, live, unbind and die, the attached...

makandra Curriculum

Your MovieDB gained traction and is now a popular tool among cineasts. This comes with a downside: You noticed a...

makandra Curriculum

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