Flatiron School

Metaprogramming: #const_set

The following is a guest post by Kevin Curtin and originally appeared on his blog. Kevin is currently a student a The Flatiron School. You can follow him on twitter here. This code sample is from the Proto gem The Goal To dynamically create classes based on the parameters of a method The Code The Breakdown We are used […]
Flatiron School

Google Maps for Rails

The following is a guest post by Aaron Streiter and originally appeared on his blog. Aaron is currently a student a The Flatiron School. You can follow him on twitter here. As a student at the Flatiron School I recently gave a presentation at the NYC on Rails meetup called Google-Maps-for-Rails. Check out the speakerdeck here! Google-Maps-for-Rails is a really neat gem […]
Flatiron School

Dynamic Method Definition

The following is a guest post by Adam Jonas and originally appeared on his blog. Adam is currently a student a The Flatiron School. You can follow him on twitter here. As a beginner, when I run into a problem my first instinct is to power through and simply find a way to get it done– the […]
Flatiron School

Here’s Where to Start Flatiron School Prework

When creating this pre-work, The Flatiron School had four goals in mind.
Flatiron School

Easy Datetime Comparison With ActiveRecord and Rails

The following is a guest post by Stephen Chen and originally appeared on his blog. Stephen is a Flatiron School alumni. You can learn more about him here, or follow him on Twitter here. TL;DR: Instead of creating or hardcoding your own DateTime and Date objects, use built in ActiveSupport methods in your ActiveRecord queries. Using ActiveRecord is great because […]
Flatiron School

How to Query NYC Open Datasets With Socrata

The following is a guest post by Stephen Chen and originally appeared on his blog. Stephen is currently a student a The Flatiron School. You can learn more about him here, or follow him on twitter here. NYC provides a ton of data from a variety of sources to the public to use for research and for application development. There’s […]