Sort by: Title | Release Date

Cover Image For Metaprogramming Ruby...

Metaprogramming Ruby (2nd edition): Program Like the Ruby Pros

Write powerful Ruby code that is easy to maintain and change. With metaprogramming, you can produce elegant, clean, and beautiful programs. Once the domain of expert Rubyists, metaprogramming is now accessible to programmers of all levels. This thoroughly revised and updated second edition of the bestselling Metaprogramming Ruby explains metaprogramming in a down-to-earth style and arms you with a practical toolbox that will help you write your best Ruby code ever.

Cover Image For Crafting Rails 4 Applications...

Crafting Rails 4 Applications: Expert Practices for Everyday Rails Development

Get ready to see Rails as you’ve never seen it before. Learn how to extend the framework, change its behavior, and replace whole components to bend it to your will. Eight different test-driven tutorials will help you understand Rails’ inner workings and prepare you to tackle complicated projects with solutions that are well-tested, modular, and easy to maintain.

This second edition of the bestselling Crafting Rails Applications has been updated to Rails 4 and discusses new topics such as streaming, mountable engines, and thread safety.

Cover Image For Agile Web Development with Rails 4...

Agile Web Development with Rails 4

Rails just keeps on changing. Both Rails 3 and 4, as well as Ruby 1.9 and 2.0, bring hundreds of improvements, including new APIs and substantial performance enhancements. The fourth edition of this award-winning classic has been reorganized and refocused so it’s more useful than ever before for developers new to Ruby and Rails.

Rails 4 introduces a number of user-facing changes, and the book has been updated to match all the latest changes and new best practices in Rails. This includes full support for Ruby 2.0, controller concerns, Russian Doll caching, strong parameters, Turbolinks, new test and bin directory layouts, and much more.

(Looking for earlier versions? Rails 3.2 Edition is still available in ebook and paper).

Cover Image For Programming Ruby 1.9 & 2.0...

Programming Ruby 1.9 & 2.0 (4th edition): The Pragmatic Programmers' Guide

Ruby is the fastest growing and most exciting dynamic language out there. If you need to get working programs delivered fast, you should add Ruby to your toolbox.

This book is the only complete reference for both Ruby 1.9 and Ruby 2.0, the very latest version of Ruby. (If you’re still using Ruby 1.8, you’ll want to check out the original PickAxe.)

2013 marks the 20th anniversary of the Ruby language. We’re proud that throughout its history, we’ve continued to cover the latest version of Ruby.

Cover Image For Agile Web Development with Rails 3.2...

Agile Web Development with Rails 3.2

This edition of this award-winning classic has been reorganized and refocused so it’s more useful than ever before for developers new to Ruby and Rails.

Rails 3 was a major release—the changes weren’t just incremental, but structural. So we decided to follow suit. This book isn’t just a mild reworking of the previous edition to make it run with the new Rails. Instead, it’s a complete refactoring.

You’ll still find the Depot example at the front, but you’ll also find testing knitted right in. Gone are the long reference chapters—that’s what the web does best. Instead you’ll find more targeted information on all the aspects of Rails you’ll need to be a successful web developer.

This edition is for Rails 3.2. It has been replaced with the Rails 4.0 Edition.

Cover Image For RubyMotion...

RubyMotion

Make beautiful apps with beautiful code: use the elegant and concise Ruby programming language with RubyMotion to write truly native iOS apps with less code while having more fun. You’ll learn the essentials of creating great apps, and by the end of this book, you’ll have built a fully functional API-driven app. Whether you’re a newcomer looking for an alternative to Objective-C or a hardened Rails veteran, RubyMotion allows you to create gorgeous apps with no compromise in performance or developer happiness.

What You Need:

A Macintosh running OS X 10.7 or later is required to install RubyMotion. RubyMotion is a commercial product and currently requires a purchased license. Experience with the Ruby language and Ruby tools like RubyGems and Rake are suggested.

Cover Image For Deploying with JRuby...

Deploying with JRuby: Deliver Scalable Web Apps using the JVM

Deploy using the JVM’s high performance while building your apps in the language you love. JRuby is a fast, scalable, and powerful JVM language with all the benefits of a traditional Ruby environment. See how to consolidate the many moving parts of an MRI-based Ruby deployment onto a single JVM process. You’ll learn how to port a Rails application to JRuby, get it into production, and keep it running.

Paperback list price normally $33.00, now on sale for $9.95 while supplies last.

Cover Image For Deploying Rails...

Deploying Rails: Automate, Deploy, Scale, Maintain, and Sleep at Night

Today’s modern Rails applications have lots of moving parts. Make sure your next production deployment goes smoothly with this hands-on book, which guides you through the entire production process. You’ll set up scripts to install and configure all the software your servers need, including your application code. Once you’re in production, you’ll learn how to set up systems to monitor your application’s health, gather metrics so you can stop problems before they start, and fix things when they go wrong.

For Rails 3

Paperback list price normally $30.00, now on sale for $9.95 while supplies last.

Cover Image For Rails Recipes...

Rails Recipes: Rails 3 Edition

Thousands of developers have used the first edition of Rails Recipes to solve the hard problems. Now, five years later, it’s time for the Rails 3 edition of this trusted collection of solutions, completely revised by Rails master Chad Fowler.

Paperback list price normally $35.00, now on sale for $9.95 while supplies last.

Cover Image For The Rails View...

The Rails View: Create a Beautiful and Maintainable User Experience

Working in the Rails View layer requires a breadth of knowledge and attention to detail unlike anywhere else in Rails. One wrong move can result in brittle, complex views that stop future development in its tracks. Break free from tangles of logic and markup in your views and implement your user interface cleanly and maintainably.

Cover Image For The dRuby Book...

The dRuby Book: Distributed and Parallel Computing with Ruby

Learn from legendary Japanese Ruby hacker Masatoshi Seki in this first English-language book on his own Distributed Ruby library. You’ll find out about distributed computing, advanced Ruby concepts and techniques, and the philosophy of the Ruby way—-straight from the source.

Paperback list price normally $35.00, now on sale for $9.95 while supplies last.

Cover Image For Build Awesome Command-Line Applications in Ruby...

Build Awesome Command-Line Applications in Ruby: Control Your Computer, Simplify Your Life

Speak directly to your system. With its simple commands, flags, and parameters, a well-formed command-line application is the quickest way to automate a backup, a build, or a deployment and simplify your life. All you’ll need is Ruby, and the ability to install a few gems along the way. Examples written for Ruby 1.9.2, but 1.8.7 should work just as well.

Build Awesome Command-Line Applications in Ruby 2 for Rails 2.x is available here

Cover Image For The Cucumber Book...

The Cucumber Book: Behaviour-Driven Development for Testers and Developers

Your customers want rock-solid, bug-free software that does exactly what they expect it to do. Yet they can’t always articulate their ideas clearly enough for you to turn them into code. The Cucumber Book dives straight into the core of the problem: communication between people. Cucumber saves the day; it’s a testing, communication, and requirements tool – all rolled into one.

Cover Image For CoffeeScript...

CoffeeScript: Accelerated JavaScript Development

CoffeeScript is JavaScript done right. It provides all of JavaScript’s functionality wrapped in a cleaner, more succinct syntax. In the first book on this exciting new language, CoffeeScript guru Trevor Burnham shows you how to hold onto all the power and flexibility of JavaScript while writing clearer, cleaner, and safer code.

Cover Image For Exceptional Ruby...

Exceptional Ruby: Master the Art of Handling Failure in Ruby

Writing code that works is hard. Writing code that handles unexpected errors and still works is really hard. Most of us learn by trial and error. This short book removes the uncertainty. With over 100 pages of content and dozens of working examples, you’ll learn everything from the mechanics of how exceptions work to how to design a robust failure management architecture for your app or library. Whether you are a Ruby novice or a seasoned veteran, Exceptional Ruby will help you write cleaner, more resilient Ruby code.

This book, available in PDF, mobi, and ePub formats, was entirely written and produced by the author. We are proud to be distributing it.

Cover Image For Crafting Rails Applications...

Crafting Rails Applications: Expert Practices for Everyday Rails Development

Rails 3 is a huge step forward. You can now easily extend the framework, change its behavior, and replace whole components to bend it to your will, all without messy hacks. This pioneering book is the first resource that deep dives into the new Rails 3 APIs and shows you how to use them to write better web applications and make your day-to-day work with Rails more productive.

Everything covered in this book is valid through at least Rails 3.1

For Rails 4, have a look at the second edition.

Cover Image For Rails Test Prescriptions...

Rails Test Prescriptions: Keeping Your Application Healthy

Rails Test Prescriptions is a comprehensive guide to testing Rails applications, covering Test-Driven Development from both a theoretical perspective (why to test) and from a practical perspective (how to test effectively). It covers the core Rails testing tools and procedures for Rails 2 and Rails 3, and introduces popular add-ons, including RSpec, Shoulda, Cucumber, Factory Girl, and Rcov.

Paperback list price normally $34.95, now on sale for $9.95 while supplies last.

Cover Image For The RSpec Book...

The RSpec Book: Behaviour-Driven Development with RSpec, Cucumber, and Friends

Behaviour-Driven Development (BDD) gives you the best of Test Driven Development, Domain Driven Design, and Acceptance Test Driven Planning techniques, so you can create better software with self-documenting, executable tests that bring users and developers together with a common language.

Get the most out of BDD in Ruby with The RSpec Book, written by the lead developer of RSpec, David Chelimsky.

Cover Image For Pragmatic Guide to JavaScript...

Pragmatic Guide to JavaScript

JavaScript is everywhere. It’s a key component of today’s Web—a powerful, dynamic language with a rich ecosystem of professional-grade development tools, infrastructures, frameworks, and toolkits. This book will get you up to speed quickly and painlessly with the 35 key JavaScript tasks you need to know.

Part of the Pragmatic Guide series

Cover Image For Metaprogramming Ruby...

Metaprogramming Ruby: Program Like the Ruby Pros

As a Ruby programmer, you already know how much fun it is. Now see how to unleash its power, digging under the surface and exploring the language’s most advanced features: a collection of techniques and tricks known as metaprogramming. Once the domain of expert Rubyists, metaprogramming is now accessible to programmers of all levels—from beginner to expert. Metaprogramming Ruby explains metaprogramming concepts in a down-to-earth style and arms you with a practical toolbox that will help you write great Ruby code.

Metaprogramming Ruby, Second Edition is available here.

Cover Image For Programming Ruby 1.9...

Programming Ruby 1.9 (3rd edition): The Pragmatic Programmers' Guide

Ruby is the fastest growing and most exciting dynamic language out there. If you need to get working programs delivered fast, you should add Ruby to your toolbox.

This book has been superseded. Please see the Fourth Edition for Ruby 1.9 and 2.0, or the original PickAxe for 1.8.

Cover Image For Learn to Program...

Learn to Program (2nd edition)

For this new edition of the best-selling Learn to Program, Chris Pine has taken a good thing and made it even better. First, he used the feedback from hundreds of reader e-mails to update the content and make it even clearer. Second, he updated the examples in the book to use the latest stable version of Ruby, and also to use code that looks more like real-world Ruby code, so that people who have just learned to program will be more familiar with common Ruby techniques.

Not only does the Second Edition now include answers to all of the exercises, it includes them twice. First you’ll find the “how you could do it” answers, using the techniques you’ve learned up to that point in the book. Next you’ll see “how Chris Pine would do it”: answers using more advanced Ruby techniques, to whet your appetite as well as providing sort of a “Rosetta Stone” for more elegant solutions.

This fourth printing of Learn to Program, 2nd edition has been updated for Ruby 2.0.

Cover Image For Agile Web Development with Rails...

Agile Web Development with Rails (3rd edition)

This edition covers Rails 2.x

The edition covering Rails 3.2 is available here: Rails 3.2

The newest edition covers Rails 4.x, and is available here: Rails 4.x

PLEASE MAKE SURE YOU’RE BUYING THE RIGHT EDITION.

Cover Image For Classy Web Development with Sinatra...

Classy Web Development with Sinatra

This screencast series is not being sold as they are out of date—the example applications are based on the 0.9.0.3 release of Sinatra.* Sinatra is a small Ruby web application framework that packs a big punch. It’s also a lot of fun! You can use Sinatra to write tiny, focused web applications and lightweight REST services very quickly. And sometimes a lean and mean web app is all you need. If you haven’t given Sinatra a look, now’s a great time to get a fresh perspective on web development. Learn how to get the most out of Sinatra from Adam Keys, an experienced Ruby and Sinatra developer.

Cover Image For The Ruby Object Model and Metaprogramming...

The Ruby Object Model and Metaprogramming

Metaprogramming lets you program more expressively. This makes your code easier to write and easier to maintain and extend. Learn both the hows and whys of metaprogramming Ruby from Dave Thomas, one of the most experienced Ruby programmers in the western world.

Cover Image For Scripted GUI Testing with Ruby...

Scripted GUI Testing with Ruby

If you need to automatically test a user interface, this book is for you. Whether it’s Windows, a Java platform (including Mac, Linux, and others) or a web app, you’ll see how to test it reliably and repeatably.

Many automated test frameworks promise the world and deliver nothing but headaches. Fortunately, you’ve got a secret weapon: Ruby. Ruby lets you build up a solution to fit your problem, rather than forcing your problem to fit into someone else’s idea of testing.

This book is for people who want to get their hands dirty on examples from the real world—and who know that testing can be a joy when the tools don’t get in the way. It starts with the mechanics of simulating button pushes and keystrokes, and builds up to writing clear code, organizing tests, and beyond.

eBook

This version, last updated Jan 2012, refreshes the RSpec examples for version 2.x. It also contains an updated section on narrative-style tests, based on Cucumber 1.x. Ian has tweaked code samples throughout the book for compatibility with Ruby 1.8.7, Ruby 1.9.2, or JRuby 1.6.5, based on what the underlying libraries support.

Cover Image For Everyday Scripting with Ruby...

Everyday Scripting with Ruby: for Teams, Testers, and You

Are you a tester who spends more time manually creating complex test data than using it? A business analyst who seemingly went to college all those years so you can spend your days copying data from reports into spreadsheets? A programmer who can’t finish each day’s task without having to scan through version control system output, looking for the file you want?

If so, you’re wasting that computer on your desk. Offload the drudgery to where it belongs, and free yourself to do what you should be doing: thinking. All you need is a scripting language (free!), this book (cheap!), and the dedication to work through the examples and exercises.

Cover Image For Programming Ruby...

Programming Ruby (2nd edition): The Pragmatic Programmers' Guide

The Pickaxe book, named for the tool on the cover, is the definitive reference to Ruby, a highly-regarded, fully object-oriented programming language. This Second Edition has more than 200 pages of new content, and substantial enhancements to the original, covering all the new and improved language features of Ruby 1.8 and standard library modules.

What Version of Ruby are You Using?

If you want to use Ruby 1.9, or Ruby 2.0, then check out our new book Programming Ruby 1.9 & 2.0.

Alternatively, if you want to continue to use Ruby 1.8, then use the book on this page.

For various technical reasons, the eBook version of this edition is a PDF only: epub and mobi versions of this edition are NOT be available.