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 […]
Flatiron School

How to Close a Git Pull Request

With a git workflow, you become used to commands like git add filename and git commit -m “add filename”.
Flatiron School

How Params Works in Rails

As you might have guessed, params is an alias for the parameters method. params comes from ActionController::Base, which is accessed by your application via ApplicationController.
Flatiron School

How to Use Octokit Commit Method

The following is a guest post by Ericka Ward and originally appeared on her blog. Ericka is currently a student a The Flatiron School. You can learn more about her here, or follow her on twitter (https://twitter.com/ErickaJoy)_ Octokit is a Ruby wrapper that parses data from the Github API. This is awesome because it makes the data much more accessible and […]
Flatiron School

How to Install a Custom Theme on Octopress

The following is a guest post by David Baker and originally appeared on his blog. David is currently a student at The Flatiron School. You can follow him on twitter here. Octopress is an awesome blogging framework built on top of Jekyll. This post will show you how to add a custom theme. The Default Classic Theme […]