Corey Donohoe: How do I learn and master Sinatra?

Note: We are re-printing this blog post that appeared on 6th July 2009, as the original post is not accessible. Welcome to the first installment on the RL blog, of a mini series – “How do I learn and master Sinatra?” – by top Rubyists using Sinatra. The interview series will provide insight and commentary from these notable Sinatra developers, with the goal of facilitating and providing answers to the questions Ruby beginners face on how to learn and master Sinatra.

Karel Minarik: How do I learn and master Sinatra? (Reprint)

Note: This is reprint of the blog post that appeared on 13th July 2009, as the original is not accessible. Welcome to the fourth installment on the RL blog, of a mini series – “How do I learn and master Sinatra?” – by top Rubyists using Sinatra. The interview series will provide insight and commentary from these notable Sinatra developers, with the goal of facilitating and providing answers to the questions Ruby beginners face on how to learn and master Sinatra.

How do I benchmark Ruby code?

This guest post is by Jesse Storimer. Hes the author of Working With Unix Processes, a gentle introduction to Unix system programming for Ruby programmers. Jesse has been programming Ruby since joining

Ruby Matrix, the Forgotten Library

Ruby Matrix, the Forgotten Library This guest post is contributed by Matthew Kirk, who is a partner at Modulus 7, specializing in software development and strategy. The basis of his career has been around utilizing science to improve businesses. He has spoken at technology conferences around the world and in his spare time, he enjoys traveling and adding to his 2000+ vinyl record collection. Remember matrices from math class? No not the movie, but the rectangular array of numbers.

Questions on Ruby? Ask An Expert at RubyLearning

Questions on Ruby? Ask An Expert at RubyLearning RubyLearning is happy to announce the start of a series of blog posts titled “Ask An Expert”. We are assembling experts in various areas of Ruby programming who will answer your questions as a blog post here. To begin with, some of the experts who have agreed to answer your questions are: Gautam Rege on Ruby with MongoDB, Mongo, MongoMapper and Mongoid Gonçalo Silva on Ruby/Rails performance Sau Sheong Chang on Sinatra Sethupathi Asokan on the Ruby devise gem Staffan Nöteberg on Ruby regex Steve Klabnik on Testing in Ruby I am sure there are more Ruby experts to follow.

Performance Testing Rails Applications: How To?

Performance Testing Rails Applications: How To? This guest post is by Gonçalo Silva, who is a full-time Ruby on Rails developer at escolinhas.pt and has participated in the Ruby Summer of Code 2010. He loves and contributes to many open-source projects, being a fan of Linux, Ruby and Android. He likes to call himself a hacker, but that’s just an excuse for being in front of the computer all the time.

How do I test my code with Minitest?

How do I test my code with Minitest? This guest post is by Steve Klabnik, who is a software craftsman, writer, and former startup CTO. Steve tries to keep his Ruby consulting hours down so that he can focus on maintaining Hackety Hack and being a core member of Team Shoes, as well as writing regularly for multiple blogs. Programming is an interesting activity. Everyone has their favorite metaphor that really explains what programming means to them.

How Can We Develop For Tomorrow's Needs?

How Can We Develop For Tomorrow’s Needs? This guest post is by James Schorr, who has been developing software since 1999. He is the owner of an IT consulting company, Enspiren IT Consulting, LLC. He lives with his lovely wife, Tara, and their children in Kansas City, Missouri. James spends a lot of time writing code in many languages, doing IT security audits, and has a passion for Ruby on Rails in particular.

Cryptography Or: How I Learned to Stop Worrying, and Love AES

Cryptography Or: How I Learned to Stop Worrying, and Love AES This guest post is by Phillip Gawlowski, who is living in the German wilderness of Oberberg near Cologne. Phillip spends his time writing Ruby as a hobby just for fun. He tries to make life a little easier for himself and for others when he is crazy enough to release his code as open source. He’s neither famous nor rich, but likes it that way (most of the time).

Throw, Catch, Raise, Rescue- I'm so confused!

Throw, Catch, Raise, Rescue… I’m so confused! This guest post is by Avdi Grimm, who is the author of “Exceptional Ruby“, an in-depth guide to exceptions and failure handling in Ruby. RubyLearning readers can get a $3 discount on the book by using code RUBYLEARN. Avdi has been hacking Ruby code for 10 years, and is still loving it. He is chief aeronaut at ShipRise, a consultancy specializing in sustainable software development and in helping geographically dispersed teams work more effectively.

How do I smell Ruby code?

How do I smell Ruby code? Understanding the worst of code This guest post is by Timon Vonk, who is a self-employed Ruby enthusiast and standard nerd with an edge. He has worked with Ruby for several years, but is well-known with many other (programming) languages. Also likes martial arts, loud music, varying quantities of booze and a good scotch. Introduction Writing bad code isn’t a bad thing. Not understanding the problem you’re trying to solve any better after having written that piece of code is.

Interview: Michael Hartl, author of the Ruby on Rails Tutorial (railstutorial.org)

RubyLearning participants talk to Michael Hartl the author of the Ruby on Rails Tutorial (railstutorial.org). Satish Talim Welcome Michael and thanks for taking out time for RubyLearning. For the benefit of the readers of this blog could you please introduce yourself and tell us what you do for a living? Michael Happy to be here. I’m a programmer, educator, and entrepreneur. Recently, I’ve been focused on making educational products and selling them online.

How do I make a command-line tool in Ruby?

How do I make a command-line tool in Ruby? This guest post is by Allen Wei, who works as Senior Ruby On Rails Engineer for Seravia, in Beijing. He is very enthusiastic about Ruby. He started using Ruby after several years of using Java, .NET and never came back to them. When he has some spare time, he develops Ruby gems, holds tech sessions, and shares his experience in his blog.

Being Awesome with the MongoDB Ruby Driver

This guest post is by Ethan Gunderson, who is a software developer living in Chicago. By day he is a developer at

How do I keep multiple Ruby projects separate?

How do I keep multiple Ruby projects separate? This guest post is by Steve Klabnik, who is a software craftsman, writer, and former startup CTO. Steve tries to keep his Ruby consulting hours down so that he can focus on maintaining Hackety Hack and being a core member of Team Shoes, as well as writing regularly for multiple blogs. If you’re anything like me, you’re already starting a new project immediately after wrapping up the last one.

Getting started with Heroku

Getting started with Heroku This guest post is by Ben Scofield, who is Heroku’s developer advocate, responsible for listening to the tens of thousands of developers deploying their Ruby applications to the cloud. He’s spoken at many conferences around the world, and in 2010 became the co-chair for RailsConf. Introduction Heroku has been in the news a lot lately, and it’s been a popular choice for Ruby application developers for a few years.If you haven’t worked with it before, here’s your chance — it’s designed to be as painless as possible to get going, and to give a powerful, stable, and scalable platform for your code.

Ruby gems — what, why and how

Ruby gems — what, why and how

This guest post is by Gonçalo Silva, who is a full-time Ruby on Rails developer at escolinhas.pt and has participated in the Ruby Summer of Code 2010. He loves and contributes to many open-source projects, being a fan of Linux, Ruby and Android. He likes to call himself a hacker, but that’s just an excuse for being in front of the computer all the time. Oh, and he tweets at @goncalossilva.

My Ruby Regrets

My Ruby Regrets

This guest post is by Jeff Langr, who has developed software for thirty years, mastering many other languages (including Smalltalk, C++, Java, and currently C#), but just not Ruby and Python… yet. (Ever?) He owns the consulting and training company

How do I build DSLs with yield and instance_eval?

This guest post is by Michael Bleigh, a Rubyist developing web applications and more for Intridea from his hometown of Kansas City. He is a prolific member of the open-source and Ruby communities, releasing such projects as

How does one effectively combine Ruby with Git for source control?

This guest post is by Erik Andrejko, a software developer living in San Francisco who spends his days working on web applications and solving data mining and machine learning problems

Don't Know Metaprogramming In Ruby?

This guest post is by Gavin Morrice, Managing Director of Katana Code Ltd., a software boutique based in Edinburgh, Scotland. He likes sharing Rails tips

Does Ruby Have Too Many Equality Tests?

Does Ruby Have Too Many Equality Tests? This guest post is by Eric Anderson, who develops web-based applications for small businesses though his company Pixelware, LLC in Atlanta, GA. He also runs SaveYourCall.com which allows people to record phone calls from any phone without the need for any complicated hardware. You probably started using == out of habit from other languages. It seems to work and that seems good enough. But then you might start seeing ===, =~, eql?

Why Use Single Sign-in Solutions in Rails?

Why Use Single Sign-in Solutions in Rails? This guest post is by Omar A. Mekky, a software developer living in Cairo, Egypt. His interests are every thing related to technology, sports or science. He is a partner in Mash Ltd. in Egypt and enjoys writing about Rails from time to time. Contact Omar at cousine.me or via twitter @cousine. Single sign-in solutions are becoming all popular and practical today. In this article we will see how we can approach this problem by building a simple restful provider and consumer using Authentasaurus on Rails.

Do YOU know Resque?

How does your code smell?

How does your code smell? This guest post is by Dr. Kevin Rutherford, a UK-based agile/XP coach, developer and project leader, with over 25 years experience in software development. He is also the founder of AgileNorth and XP-Manchester. Contact him via http://www.kevinrutherford.co.uk. I expect you’re a conscientious modern developer. You write your code using test-driven or behaviour-driven development, and you never write a line of production code unless it is needed in order to make a test pass.

Do You Understand Ruby's Objects, Messages and Blocks?

This guest post is by Ed Howland, an independent consultant who has worked in Ruby and RoR for more than 5 years, since the 0.13 days of Rails. He has over 22 years in the software development industry

Do you know what's new in Ruby 1.9?

This guest post is by Carlo Pecchia, who is an IT engineer mainly interested on agile methodologies and “good practices” for developing large and complex systems. He is also interested in web architectures and emerging programming languages.

The value of a personal bug log

The value of a personal bug log This guest post is by Brian Tarbox, who is a Distinguished Member of Technical Staff at Motorola where he works on Video On Demand Systems. He also blogs about applying a Wabi Sabi approach to software, cognition and philosophy at briantarbox.blogspot.com. He is a regular contributor to the Pragmatic Programmer magazine. His open source project for converting computer log files to music just won an Oracle Duke’s Choice award.

Do You Enjoy Your Code Quality?

This guest post is by James Schorr, who has been developing software since 1999. He is the owner of an IT consulting company, Enspiren IT Consulting, LLC.  He lives with his lovely wife, Tara, and their children in Kansas City, Missouri. James spends a lot of time writing code in many languages, doing IT security audits, and has a passion for Ruby on Rails in particular. He also loves

Does ROR deployment deprive YOU of your sleep?

This guest post is contributed by Fabio Akita, who works as Project Manager for GoNow Tecnologia, in Brazil, leading Ruby on Rails projects. He worked for Locaweb, the largest web hosting company in Latin America where he helped implement the support for Rails in a shared web hosting for the first time. He and Locaweb also joined forces to create the

Do YOU know Ruby's "Chainsaw" method?

This guest post is contributed by Paolo Perrotta, a freelance geek, currently coaching agile teams for a large phone company. He also wrotes

Gem Sawyer, Modern Day Ruby Warrior

An Introduction to Outside-in Development

This guest post is contributed by Harold Giménez, who is a web developer with the crew at thoughtbot, where he spends his days working with Rails and writing open source software. He’s also involved with

Ruby Forensics

This guest post is contributed by Elise Huard, who is based in Brussels, Belgium and is the owner of

An introduction to eventmachine, and how to avoid callback spaghetti

This guest post is contributed by Martyn Loughran, who works at New Bamboo in London where he builds some very cool apps like

The Testing Mindset

This guest post is contributed by Noel Rappin, who is a Senior Consultant with Obtiva, and has been a professional web developer for a dozen years. He is the author of four technical books. The most recent, Rails Test Prescriptions

An Introduction to Desktop Apps with Ruby

This guest post is contributed by Martin Sadler, who has over 10 years experience in the web development industry working with a range of successful high profile businesses, public sector organisations, and individuals. He is best known in the Ruby community as the creator of

The Ruby movement

This guest post is contributed by Matt Aimonetti, a Senior Engineer at Sony Playstation in San Diego, CA. Matt has been active in the Ruby community for many years, he developed or contributed to a lot OSS libraries and frameworks, spoke at users groups and conferences in the U.S. and abroad. Working with startups, fortune 100 companies and traditional companies, he had the opportunity

Almost everything is an object (and everything is almost an object!)

This guest post is contributed by David A. Black, a Senior Developer with Cyrus Innovation, Inc. David has been programming in Ruby for ten years, and is the author of

So, you're new to Ruby!

This guest post is contributed by Javier Cicchelli, a Software Engineer at Rock & Code, the Software and Marketing communications shop that rocks! Currently, they are doing their dirty deeds and conducting their high voltage operations in the (in)famous Red Light District in Amsterdam, The Netherlands. Some four years ago, he started developing all the symptoms of a peculiar case of programmer’s schizophrenia. It all happened when

Incorporating Web APIs to spark computer programming exercises

This guest post is contributed by Karmen Blake, who is a software developer for Wildfireapp, focused on creating apps to better help companies integrate branded interactive campaigns with viral features of the social web. Karmen has over 10 years of experience in software development

14 Ways To Have Fun Coding Ruby

This guest post is contributed by Jeff Schoolcraft, who runs The Queue Incorporated a freelance consultancy that provides custom software development in Ruby, Rails and iOS. He produces screencasts with his partner, Istvan Hoka, at BDDCasts. When he’s not building his business he’s trying to keep up with

Writing modular web applications with Rack

Writing modular web applications with Rack

This guest post is contributed by Sau Sheong Chang, who is currently the Director of the Applied Cloud Computing Lab, in HP Labs Singapore.

How to Learn Ruby (or any programming language)

This guest post is contributed by Geoffrey Grosenbach, who designs, produces, and publishes the acclaimed

Ruby Gurus to blog on RubyLearning

Ruby Gurus to blog on RubyLearning

RubyLearning is happy to announce that the following Ruby Gurus would be individually writing a guest blog post here starting 20th Sept. 2010. The focus of the blog post would be towards Ruby Newbies. These gurus are:

Follow 10+ Rubyists using Sinatra on Twitter

What’s Twitter? The New York Times says: Twitter is a simple messaging service that you’ve either heard about a lot or not at all. Either way, it’s a fun and useful tool, well worth trying if you want to reach potential and existing customers, employees or employers. List of Rubyists Using Sinatra This list of over 10 Rubyists using Sinatra, is in alphabetical order, with a link to their Twitter profile.

Little Known Ways to Ruby Mastery by Ryan Bates

A weekly series from the Ruby Masters Welcome to the last installment of the weekly interview series on the RL blog – “Path to Ruby Mastery” – by top trainers and developers in the Ruby community, from across the globe. The interview series will provide insight and commentary from these notable Ruby trainers and developers, with the goal of facilitating and providing answers to the questions Ruby beginners face. This week, we’re happy to have Ryan Bates from USA.

Little Known Ways to Ruby Mastery by Thibaut Barrere

A weekly series from the Ruby Masters Welcome to the next installment of the weekly interview series on the RL blog – “Path to Ruby Mastery” – by top trainers and developers in the Ruby community, from across the globe. The interview series will provide insight and commentary from these notable Ruby trainers and developers, with the goal of facilitating and providing answers to the questions Ruby beginners face. This week, we’re happy to have Thibaut Barrere from France.

Little Known Ways to Ruby Mastery by Josh Susser

A weekly series from the Ruby Masters Welcome to the next installment of the weekly interview series on the RL blog – “Path to Ruby Mastery” – by top trainers and developers in the Ruby community, from across the globe. The interview series will provide insight and commentary from these notable Ruby trainers and developers, with the goal of facilitating and providing answers to the questions Ruby beginners face. We welcome your suggestions for interviewees and questions.

Little Known Ways to Ruby Mastery by Ilya Grigorik

A weekly series from the Ruby Masters Welcome to the next installment of the weekly interview series on the RL blog – “Path to Ruby Mastery” – by top trainers and developers in the Ruby community, from across the globe. The interview series will provide insight and commentary from these notable Ruby trainers and developers, with the goal of facilitating and providing answers to the questions Ruby beginners face. We welcome your suggestions for interviewees and questions.

Little Known Ways to Ruby Mastery by Peter Cooper

A weekly series from the Ruby Masters Welcome to the next installment of the weekly interview series on the RL blog – “Path to Ruby Mastery” – by top trainers and developers in the Ruby community, from across the globe. The interview series will provide insight and commentary from these notable Ruby trainers and developers, with the goal of facilitating and providing answers to the questions Ruby beginners face. We welcome your suggestions for interviewees and questions.

Little Known Ways to Ruby Mastery by Chris Matthieu

A weekly series from the Ruby Masters Welcome to the next installment of the weekly interview series on the RL blog – “Path to Ruby Mastery” – by top trainers and developers in the Ruby community, from across the globe. The interview series will provide insight and commentary from these notable Ruby trainers and developers, with the goal of facilitating and providing answers to the questions Ruby beginners face. We welcome your suggestions for interviewees and questions.

Little Known Ways to Ruby Mastery by Ezra Zygmuntowicz

A weekly series from the Ruby Masters Welcome to the next installment of the weekly interview series on the RL blog – “Path to Ruby Mastery” – by top trainers and developers in the Ruby community, from across the globe. The interview series will provide insight and commentary from these notable Ruby trainers and developers, with the goal of facilitating and providing answers to the questions Ruby beginners face. We welcome your suggestions for interviewees and questions.

Little Known Ways to Ruby Mastery by Bruce Tate

A weekly series from the Ruby Masters Welcome to the next installment of the weekly interview series on the RL blog – “Path to Ruby Mastery” – by top trainers and developers in the Ruby community, from across the globe. The interview series will provide insight and commentary from these notable Ruby trainers and developers, with the goal of facilitating and providing answers to the questions Ruby beginners face. We welcome your suggestions for interviewees and questions.

Little Known Ways to Ruby Mastery by Ian Dees

A weekly series from the Ruby Masters Welcome to the next installment of the weekly interview series on the RL blog – “Path to Ruby Mastery” – by top trainers and developers in the Ruby community, from across the globe. The interview series will provide insight and commentary from these notable Ruby trainers and developers, with the goal of facilitating and providing answers to the questions Ruby beginners face. We welcome your suggestions for interviewees and questions.

Little Known Ways to Ruby Mastery by Jonathan Conway

A weekly series from the Ruby Masters Welcome to the next installment of the weekly interview series on the RL blog – “Path to Ruby Mastery” – by top trainers and developers in the Ruby community, from across the globe. The interview series will provide insight and commentary from these notable Ruby trainers and developers, with the goal of facilitating and providing answers to the questions Ruby beginners face. We welcome your suggestions for interviewees and questions.

50+ Rubyists to Follow on Twitter

The response to an earlier post “Famous Ruby Personalities: Who do you recommend?” was very encouraging and many wrote in asking for the Twitter profiles of these Famous Ruby Personalities and other Ruby developers and bloggers. But What’s Twitter? The New York Times says: Twitter is a simple messaging service that you’ve either heard about a lot or not at all. Either way, it’s a fun and useful tool, well worth trying if you want to reach potential and existing customers, employees or employers.

Little Known Ways to Ruby Mastery by Chris O'Sullivan

A weekly series from the Ruby Masters

Welcome to the next installment of the weekly interview series on the RL blog – “Path to Ruby Mastery” – by top trainers and developers in the Ruby community, from across the globe.

Little Known Ways to Ruby Mastery by Jay Fields

A weekly series from the Ruby Masters Welcome to the next installment of the weekly interview series on the RL blog – “Path to Ruby Mastery” – by top trainers and developers in the Ruby community, from across the globe. The interview series will provide insight and commentary from these notable Ruby trainers and developers, with the goal of facilitating and providing answers to the questions Ruby beginners face. We welcome your suggestions for interviewees and questions.

Little Known Ways to Ruby Mastery by Stuart Halloway

A weekly series from the Ruby Masters Welcome to the next installment of the weekly interview series on the RL blog – “Path to Ruby Mastery” – by top trainers and developers in the Ruby community, from across the globe. The interview series will provide insight and commentary from these notable Ruby trainers and developers, with the goal of facilitating and providing answers to the questions Ruby beginners face. We welcome your suggestions for interviewees and questions.

Little Known Ways to Ruby Mastery by Dr Nic Williams

A weekly series from the Ruby Masters Welcome to the next installment of the weekly interview series on the RL blog – “Path to Ruby Mastery” – by top trainers and developers in the Ruby community, from across the globe. The interview series will provide insight and commentary from these notable Ruby trainers and developers, with the goal of facilitating and providing answers to the questions Ruby beginners face. We welcome your suggestions for interviewees and questions.

Little Known Ways to Ruby Mastery by James Edward Gray II

A weekly series from the Ruby Masters Welcome to the second installment of the weekly interview series on the RL blog – “Path to Ruby Mastery” – by top trainers and developers in the Ruby community, from across the globe. The interview series will provide insight and commentary from these notable Ruby trainers and developers, with the goal of facilitating and providing answers to the questions Ruby beginners face. We welcome your suggestions for interviewees and questions.

Famous Ruby Personalities: Who do you recommend?

Ruby is designed to make programmers happy Do we really care? Goggle for Famous Ruby Personalities and you will be surprised to find no relevant information on this. Let us try and addresses this issue and salute the Famous Ruby Personalities that have helped Ruby developers and enthusiasts have fun, joy and be happy while programming! Rock Stars Yukihiro Matsumoto or “Matz,” as he is known online, obviously is the first choice for giving us this wonderful Ruby programming language.

Little Known Ways to Ruby Mastery by Jamie van Dyke

A weekly series from the Ruby Masters We’re excited to launch a new interview series on the RL blog – “Path to Ruby Mastery” – by top trainers and developers in the Ruby community, from across the globe. The interview series will provide insight and commentary from these notable Ruby trainers and developers, with the goal of facilitating and providing answers to the questions Ruby beginners face. We welcome your suggestions for interviewees and questions.