Flatiron School

Class Variables vs Class Instance Variables

The following is a guest post by James Vanneman and originally appeared on his blog. James is currently a student a The Flatiron School. You can learn more about him here, or follow him on twitter here. If you want data that only a class and it’s instances have access to, class variables often seem like the best […]
Flatiron School

Caching Fragments

The following is a guest post by Li Ouyang and originally appeared on her blog. Li is currently a student a The Flatiron School. You can learn more about her here, or follow her on twitter here. In order to speed up performance, sometimes you’ll want to cache a page. Once the data changes, the cached page should expire, […]
Flatiron School

Convert a Ruby Hash into valid JSON

This post is about how to get a valid JSON (JavaScript Object Notation) snippet from a Ruby Hash.
Flatiron School

How to Solve a 403 Nginx File Download Permission Error

The following is a guest post by Corinna Brock and originally appeared on her blog. Corinna is currently a student a The Flatiron School. You can follow her on twitter here. Once the basic functionality of our assignment.io website was implemented, one of the features that we wanted to implement was file upload and download. The basic upload […]
Flatiron School

How I Learned to Code in 8 Months

The following is a guest post by Li Ouyang and originally appeared on her blog. Li is currently a student a The Flatiron School. You can follow her on twitter here. When many people look at my resume, they’re often confused by my drastic career switch. They’re also confused by how much I’ve learned in the past […]
Flatiron School

How to count Ruby Array items

The following is a guest post by Rex Feng and originally appeared on his blog. Rex is currently a student a The Flatiron School. You can learn more about him here, or follow him on twitter here. While working in Ruby, I often find myself trying to get a count of the number of times each item appears in an […]