Ruby

http://s.erious.ly

Author Archive

#267 CoffeeScript Basics

CoffeeScript allows you to write JavaScript in a concise, elegant fashion. Here I convert JavaScript code to CoffeeScript in a Rails 3.1 app.

#266 HTTP Streaming

HTTP Streaming allows the browser to start processing the HTML response while the Rails app is still processing the rest of the request.

#266 HTTP Streaming

HTTP Streaming allows the browser to start processing the HTML response while the Rails app is still processing the rest of the request.

#265 Rails 3.1 Overview

This is the first episode in a series covering Rails 3.1. Here I show how to install the beta and show some of the new features.

#264 Guard

Guard watches files and runs a command after a file is modified. This allows you to automatically run tests in the background, restart your development server, reload the browser, and more.

#263 Client Side Validations

Showing validation errors inline as the user is filling out the form can lead to a better use experience. Learn how to do this using the Client Side Validations gem.

#262 Trees with Ancestry

The Ancestry gem works like a tree but also allows us to fetch deeply nested messages in a single query. It provides a method to arrange them after fetching.

#261 Testing JavaScript with Jasmine

Are you testing your JavaScript? Learn how to add specs using Jasmine. This episode also covers jQuery integration with jasmine-jquery.

#260 Messaging with Faye

Faye is a subscription/publishing server which makes it easy to do push notifications within a Rails app.

#260 Messaging with Faye

Faye is a subscription/publishing server which makes it easy to do push notifications within a Rails app.

#259 Decent Exposure

The decent_exposure gem makes it convenient to share controller data with the view through methods instead of instance variables.

#258 Token Fields

With the jQuery Tokeninput plugin it is easy to add an autocompleting list of entries for a many-to-many association.