About
Buy my book
Exceptional Ruby is the definitive guide to exceptions and failure handling in Ruby.
Pages
Categories
Tag Archives: ruby
Null Objects and Falsiness
Thank you to Ben Hamill for sending me a question that prompted this post. Checking for object presence Very often in Ruby code, we would like to execute some action only if an object is present: def slug(title) if title … Continue reading
Posted in Ruby
Tagged design patterns, Null Object, oo, patterns, Presenter Pattern, ruby
30 Comments
RailsConf, BohConf, DCRUG Video
DCRUG First off, I had a great time at DCRUG last night. I enjoyed getting a peek at Jeff Casimir‘s “pre-alpha” presentation on Rails views. And Joel Strait‘s live demo of BEATS was very cool. I did something a little … Continue reading
“Exceptional Ruby” Now Available!
I am very, very excited to announce that the final version of my new eBook “Exceptional Ruby” is now available for immediate purchase. Originally born out of the realization that I had more material about Ruby failure handling than I … Continue reading
Posted in Books, Ruby
Tagged eBook, errors, Exception handling, fail-fast, failures, programming, raise, rescue, ruby
6 Comments
Last Chance for Exceptional Ruby Beta
As you probably know I’m writing an eBook called “Exceptional Ruby”, based on my talk of the same name. For a couple of months now it has been available as a Beta release, as I work on adding the last … Continue reading
Linkdump #8
Scriptensity: Emscripten 1.0! This is the first I’ve heard of this project: it’s an LLVM-to-Javascript compiler. Which means you can (for instance) compile C++ to Javascript. I can’t decide if this is amazing or just batshit insane. Probably both. tags: … Continue reading
Posted in Links
Tagged http, javascript, llvm, ruby, spdy, static analysis, tcp, tdd, test-unit, testing, yield
Leave a comment
Linkdump #7
Hacker Chat: Pinboard Creator Maciej Ceglowski Talks About Why Boring Architecture is Good, and More Wise words. tags: development I think many developers (myself included) are easily seduced by new technology and are willing to burn a lot of time … Continue reading
Posted in Links
Tagged architecture, bdd, java, javascript, literate programming, logging, nodejs, rails, rspec, ruby, tdd, testing
Leave a comment
RSpec is for the literate
A couple years ago I wrote a library called AlterEgo. It’s an implementation of the State Pattern for Ruby. I consider the library to be retired at this point—other libraries, such as State Machine and ActiveModel, have since incorporated all … Continue reading
Getting Started with Erector in Rails 3
Click to Play A quick guide to getting up and running with the Erector templating library. EDIT: Here’s the fork and branch I used to get it working.
Ruby on Ales 2011
I very nearly didn’t go to Ruby on Ales, but I’m very glad I did. RoA 2011 was the most fun I’ve had at a traditional (non-unconference) conference since RubyFringe. The talks were well-curated; full of original content, largely free … Continue reading
Linkdump #6
agile/db_branch – GitHub I’d been looking for a way to manage databases for multiple branches of an app, and this is one of the (many) suggestions. tags: development database ruby rails git Rails plugin to play nice with git branching … Continue reading
Posted in Links
Tagged c++, c++0x, clojure, data structures, datamapper, javascript, links, memoization, parsing, rails, ruby, Ruby on Rails
Leave a comment
