1. Technology
Send to a Friend via Email
You can opt-out at any time. Please refer to our privacy policy for contact information.
Michael Morin

Updated Articles and Resources

By Michael Morin

    Updated Articles and Resources
    • Threads in Ruby Created: Saturday, May 31, 2014 Updated: Tuesday, July 22, 2014
      Ruby does have threads, however the threading support in MRI (the most widely used Ruby interpreter) is not complete.  It supports concurrency for IO-bound
    • How Can I Store Key/Value Pairs in Ruby? Created: Thursday, May 07, 2009 Updated: Thursday, July 03, 2014
      Storing key/value pairs in Ruby doesn't always need to be accomplished by using a hash. You can also use the Struct and OpenStruct classes.
    • Effective Debug Messages Created: Monday, June 30, 2014 Updated: Monday, June 30, 2014
      Using simple techniques to improve your debug messages.
    • The Book of Ruby Created: Thursday, July 28, 2011 Updated: Monday, June 30, 2014
      The Book of Ruby by Huw Collingbourne is a book that teaches Ruby for people who already know another programming language. It doesn't hold your hand and explain minor points like "what is a varia...
    • Ruby on Rails 3 Tutorial Live Lessons Created: Friday, March 11, 2011 Updated: Monday, June 30, 2014
      The Ruby on Rails 3 Tutorial by Michael Hartl is the antithesis of the rapid screencast approach. In the tutorial, the reader is walked through how to use Rails slowly and now with the live lesson...
    • Eloquent Ruby by Russ Olsen Created: Monday, March 07, 2011 Updated: Monday, June 30, 2014
      All spoken languages have idioms, or ways or saying things that don't have a literal meaning, but a meaning everyone understands. The same is true for computer languages, and it's something that m...
    • Ruby on Rails 3 Tutorial: Learn Rails by Example Created: Wednesday, January 19, 2011 Updated: Monday, June 30, 2014
      Ruby on Rails 3 Tutorial: Learn Rails by Example by Michael Hartl is a hands on introduction to not only Ruby on Rails but all the related software and services many Rails developers use such as Gi...
    • More That Static Regular Expressions Created: Monday, September 30, 2013 Updated: Monday, June 30, 2014
      Regular expressions can do more than you think, and I was able to solve a problem in a very novel way.
    • Part 5: Deploying Created: Tuesday, February 05, 2013 Updated: Monday, June 30, 2014
      Deploying your web application on Heroku is much easier than it sounds. In fact, there's really only one hurdle to clear: porting your application to PostgreSQL. And even that is relatively simple,...
    • Part 4: Styling Created: Thursday, January 31, 2013 Updated: Monday, June 30, 2014
      Now that we have a working application, let's make it look a bit better.
    • Part 3: Implementing Created: Wednesday, January 30, 2013 Updated: Monday, June 30, 2014
      In this part, we'll implement a complete working application.
    • Variables Declared in the Global Scope Created: Friday, August 31, 2012 Updated: Monday, June 30, 2014
      I declared a variable in the global scope, and now I can't access it. What's going on here?
    • Can't Modify Frozen String Created: Friday, August 31, 2012 Updated: Monday, June 30, 2014
      I'm trying to modify a frozen string, but I keep getting this exception. Why?
    • Symbols Created: Saturday, January 07, 2012 Updated: Monday, June 30, 2014
      Symbols are everywhere in Ruby code but, having no analog in other programming languages, they're often misunderstood.
    • The Player Created: Tuesday, November 08, 2011 Updated: Monday, June 30, 2014
      Now that we have most of the support code for the game finished, it's time to implement the player. The player where everything happens, the API for this whole thing, if you will.
    • Finding and Moving Nodes Created: Saturday, November 05, 2011 Updated: Monday, June 30, 2014
      While text adventure games have many interactions, almost everything aside from the scripting involves finding a node and moving it somewhere else.
    • Building Hashes Created: Wednesday, January 12, 2011 Updated: Monday, June 30, 2014
      A hash is an associative array. Instead of using numerical indexes, any object (but typically symbols) can be used. They can be both a fast way to retrieve an object based on a key, and a convenien...
    • Introducing Redcar Created: Tuesday, January 04, 2011 Updated: Monday, June 30, 2014
      Redcar is a self-hosting Ruby editor. It's written in Ruby, it's extensible in Ruby and its primary focus is editing Ruby code. It's currently in active development and it's getting quite mature.
    • Mouse and Keyboard Input in Gosu Created: Saturday, October 02, 2010 Updated: Monday, June 30, 2014
      Games are, by definition, interactive. Gosu makes this interaction straightforward with a simple interface for detecting and reacting to key and mouse button presses.
    • Convoluted Constructions: a = 1, b = 2 Created: Tuesday, February 15, 2011 Updated: Monday, June 30, 2014
      Given the expression a = 1, b = 2, what will a and b be equal to? What will their types be? Why?
    • Operator Created: Friday, October 14, 2011 Updated: Monday, June 30, 2014
      An operator is a method or Ruby feature that takes operands and produces a value.
    • Interface Created: Tuesday, August 23, 2011 Updated: Monday, June 30, 2014
      An interface is a system of interaction between components. It may refer to interaction between program components (an "application programming interface") or between a user and a program (a "grap...
    • How to Install Git Created: Friday, September 03, 2010 Updated: Monday, June 30, 2014
      How to install Git on Windows, Linux or Mac OS X.
    • Boolean Expression Created: Tuesday, June 03, 2008 Updated: Monday, June 30, 2014
      A boolean expression is an expression that evaluates to either true or false.
    • CSV Example: Sorting and Column Widths Created: Monday, August 22, 2011 Updated: Monday, June 30, 2014
      Once data has been parsed from CSV, the rows must be sorted and to prepare for formatting in an ASCII table, the column widths are calculated." itemprop="description" Thursday, July 21, 2011 Updated: Monday, June 30, 2014
      Manipulating and submitting forms is about as easy as you could imagine in Mechanize. As expected, the form objects (such as check boxes, buttons and text fields) have methods like "click" that mi...
    • The Mechanize Agent Created: Wednesday, June 29, 2011 Updated: Monday, June 30, 2014
      When you use a web browser, your browser is said to be the "user agent." In other words, it is a program that acts on your behalf. The Mechanize object is your Ruby program's "agent," and it's th...
    • The Ternary (or "Conditional") Operator Created: Monday, March 14, 2011 Updated: Monday, June 30, 2014
      The ternary (or "conditional") operator will evaluate an expression and return one value if it's true, and another value if it's false. It's a kind of short-hand, compact if statement. It has its...
    • Getting the Domain From a Hostname Created: Tuesday, March 01, 2011 Updated: Monday, June 30, 2014
      The question was asked: "Given a hostname, how do I get the domain?" There are a few simple solutions to this, but they're all wrong." itemprop="description"="description" Monday, June 30, 2014 Updated: Monday, June 30, 2014
      How to use the ruby-progressbar gem to display progress bars on the command line.
    • Using IPAddr to Test Subnetworks Created: Monday, June 30, 2014 Updated: Monday, June 30, 2014
      Using the built in IPAddr library to test if an IP Address belongs to a certain subnetwork.
    • undefined method `to_sym' for nil:NilClass Created: Monday, September 13, 2010 Updated: Monday, June 30, 2014
      Problem: Seemingly at random, you've encountered the error undefined method `to_sym' for nil:NilClass, or a similar error message for any method name other than to_sym.

    ©2014 About.com. All rights reserved.