Home > Articles > Open Source > Ruby/Ruby on Rails

Ruby/Ruby on Rails

18 Items

Sort by Date | Title

Video: Effective Ruby: Consider Using a Default Hash Value
Dec 3, 2015
In this excerpt from Effective Ruby LiveLessons (Video Training), learn why you should consider using a default hash value in Ruby.
Video: Effective Ruby: Prefer Lambda Instead of Proc
Dec 1, 2015
In Ruby, there are a number of ways to create anonymous pieces of code that we can move throughout our application. Proc is one such was to create an anonymous callable. However, in this excerpt from Effective Ruby LiveLessons (Video Training), learn why you should prefer lambda instead of proc.
Video: Effective Ruby: Use the === Protocol for Matching Tasks
Nov 27, 2015
In this excerpt from Effective Ruby LiveLessons (Video Training), learn about the === protocol built into Ruby, which is the universal match protocol for all objects in the Ruby system.
Learn Ruby the Hard Way: A Good First Program
Dec 23, 2014
In this excerpt from Learn Ruby the Hard Way: A Simple and Idiomatic Introduction to the Imaginative World Of Computational Thinking with Code, 3rd Edition, Zed Shaw walks you through writing your first Ruby program, and gives you some study drills to help you practice your skills.
Learn Ruby the Hard Way: Comments and Pound Characters
Dec 23, 2014
Comments are very important in your programs. They are used to tell you what something does in English, and they are used to disable parts of your program if you need to remove them temporarily. Zed Shaw shows you how you use comments in Ruby, in this chapter from Learn Ruby the Hard Way: A Simple and Idiomatic Introduction to the Imaginative World Of Computational Thinking with Code, 3rd Edition.
Learn Ruby the Hard Way: Comments and Pound Characters
Sep 8, 2014
Comments are very important in your programs. They are used to tell you what something does in English, and they are used to disable parts of your program if you need to remove them temporarily. Zed Shaw shows you how to use them in Ruby, in this excerpt from Learn Ruby the Hard Way: A Simple and Idiomatic Introduction To The Imaginative World Of Computational Thinking With Code, 3rd Edition.
Practical Object Oriented Design in Ruby: Interfaces
Mar 2, 2012
This chapter explores creating flexible interfaces in Ruby that allow applications to grow and change.
The Ruby Reading List
Oct 13, 2011
In the last ten years the Ruby programming language has gone from an obscure open source project to the expansive technology behind some of the world’s most visible web properties. In this article Russ Olsen points out some of the Ruby ‘must reads’, web sites and books that will help the new Ruby programmer get started.
Putting the "Journey" in Journeyman Software Developer: An Interview with Corey Haines
Jul 25, 2011
When it comes to putting the craft back into programming, a handful of names might come to mind, and Corey Haines is one of them. Matthew Heusser talked with Corey about software craft, his journeyman project, and that great big project he is working on next.
Eloquent Ruby: An Interview with Russ Olsen
Mar 24, 2011
Pat Eyler interviews Russ Olsen about his new book, Eloquent Ruby, recommended programming practices, why it's beneficial to learn a new programming language, and why it's sometimes worthwhile to color outside the lines.
Eloquent Ruby: Embrace Dynamic Typing
Mar 2, 2011
In this chapter from his book, Eloquent Ruby, Russ Olsen In looks at how dynamic typing allows you to build programs that are simultaneously compact, flexible, and readable. Unfortunately, nothing comes for free, so he also looks at the downsides of dynamic typing and at how the wise Ruby programmer works hard to make sure the good outweighs the bad.
Eloquent Ruby: Use Symbols to Stand for Something
Mar 1, 2011
In this chapter from his book, Eloquent Ruby, Russ Olsen shows symbols in Ruby for what they really are: very simple, useful programming language constructs that are a key part of the Ruby programming style.
The Meta-Guide To Learning Ruby
Feb 1, 2011
Really mastering a new programming language, certainly one as flexible and fluid as Ruby, is not easy. Russ Olsen offers some tips to ease the pain and speed yourself down the road to Ruby mastery.
"D"iving Into the D Programming Language
Jul 29, 2009
Andrei Alexandrescu dives into explaining the basics of the D programming language.
RailsSpace Ruby on Rails Tutorial: Getting Started
Jun 15, 2009
This video excerpt is from lesson 2 of RailsSpace Ruby on Rails Tutorial.
Robert C. Martin’s Clean Code Tip of the Week #1: An Accidental Doppelgänger in Ruby
Jan 7, 2009
Robert C. Martin investigates an interesting dilemma: if the implementation of two functions is identical, yet their intent is completely different, is it still duplicate code?
Becoming a Software Developer part 7: Ruby for the Internet Nuby
May 24, 2002
It's easy to write simple scripts for sending emails — but hard to make sure that your application deals with all the weird and wonderful things that can go wrong.
Becoming a Software Developer Part 2: Test Driven Development with Ruby
Apr 12, 2002
Developers can become more productive and spend a lot less time debugging code by creating Extreme Programming style unit tests before the rest of the code is written. Every "Ruby nuby" should learn about test-driven development and create unit tests.