NYC Open Data: A Socrata API

As a member of a workers center in Manhattan, The National Mobilization Against Sweatshops [www.nmass.org], I've organized with community members to fight displacement and stop the city's neglect of public housing. Hearing NYCHA residents on the Lower East Side describe the many repair issues… »

Javascript's Functional Class Pattern

In Ruby, we think of classes as entities that are capable of producing objects handle just one responsibility. For example, in a blogging application you would have a "Post" class that is responsible for creating posts. In Javascript, the definition of class is very similar. What is a… »

Scoping in Javascript

Coming from magical Rails-land, where everything is abstract and intuitive (if you ask me), wrapping your head around Javascript can seem intimidating. That's why we're going to take it really slow. Let's take a look at how scoping works in Javascript. This will function… »

File Uploading in Rails with Paperclip and AWS

There are many instances in which you may want to give the users of your application the ability to upload images--maybe you're creating a blogging platform and users want to upload images for their profiles or their posts, maybe you're creating a social networking site and… »

Service Objects in Rails

As Rubyists, we always aim to keep our controllers clean and DRY. But often controllers do need to talk to other parts of the application--models, mailers, etc. So, when it comes to running a search function or sending an email, we often wonder where to put that code. The answer… »