Koala 1.1rc3 released!

June 30, 2011

Hey everyone, I’m happy to announce the release of Koala 1.1rc3!  Looking back, the previous release should have been a beta, since we’ve made a number of changes and improvements. Batch API Interface Change Most significantly, we’ve made a breaking change to the Batch API interface.  This was not an easy choice, but the original implementation [...]

0

Making Rack::Offline useful in uncached mode

June 1, 2011

In which we play around with mobile. I’ve been playing around with mobile websites for the last two months — learning about app caches and localStorage, hacking around with jQuery mobile, discovering the limits of mobile devices.  It’s a huge, complicated, fascinating wilderness, and along my way  I’ve come up with or stumbled upon a few [...]

0

Test your Javascript!

December 29, 2010

In  this post, I’ll discuss the whys and hows of Javascript testing; briefly discuss Jasmine, a testing framework; and review some of potential challenges in testing Javascript, which I’ll discuss in more detail in several follow-up posts. I like Javascript.  The language has some great features that make it possible (even fun) to build powerful, [...]

3

Can an HTML form generate an ordered array of hashes with Rails?

November 21, 2010

I want to do the following in Rails. Anyone know if it’s possible? I have a a sortable list of pictures with a bunch of embedded form elements (thumbnail and full-size URLs, remote IDs, etc.). I’d like to set this up with array-style form elements so that the order of the form elements in the [...]

4

Undefined method ‘it’ and other RSpec 2 lessons

October 15, 2010

I spent some time last week making the Koala test suite compatible with Rails 1.9/Minitest/RSpec 2/Rails 3. Along the way I encountered a few issues and learned a few lessons that may be useful to those making the same transition. Undefined method ‘it’, ‘before’ or ‘after’ for MyTests:Class (NoMethodError) These errors baffled me at first [...]

0

Introducing Koala: a new gem for Facebook’s new Graph API

May 3, 2010

Check out Koala’s official documentation on our Github wiki! It has all the same content, but as of version 0.5.0, the wiki is more up-to-date. I’m excited to announce the first release of Koala (http://github.com/arsduo/koala), a lightweight and flexible Facebook Graph library for Ruby. Introductions all around Using Koala, you have complete access to the [...]

9

A Shocking Truth about CSS

February 26, 2010

In which our heroes learn to their surprise that a fundamental assumption is wrong. 10:57:47 AM Alex M: omg 10:58:07 AM Alex M: I just learned something incredible about how css selectors are applied 10:59:29 AM Alex K: really 10:59:30 AM Alex K: what what 10:59:38 AM Alex M: yes! 10:59:40 AM Alex M: it’s [...]

10

Using Capistrano and Jammit on Dreamhost

February 18, 2010
Tags:

In this post, I explore how to implement asset packaging with Jammit on a Dreamhost server using Capistrano and Rake.  (Much of this will be useful to those not on Dreamhost, too.) Background I’ve been working on a Javascript project called Rainydays, bringing together a number of important, reusable tools I’ve written in the last [...]

1