In short: This book is good, go buy it.
In “Design Patterns in Ruby” Russ Olsen sets out to cover two distinct goals. First he introduces the idea of design patterns, and secondly he explores how the dynamic nature of Ruby allows patterns to be used with less effort than languages such as Java and C#.
The [...]
Tag archive for ‘Ruby’
-
Design Patterns in Ruby – A Book Review
-
Polymorphic Associations and Interfaces In Ruby/Rails
I have been using a lot of polymorphic associations in rails recently. If you don’t know what they are, bear with me and I will explain in a moment. To really use a polymorphic association properly it’s vital to understand interfaces, which should be part of your daily bread and butter toolkit, but in a [...]
-
Rapid Prototyping for Java using JRuby: A Presentation
-
Using JRuby to rapidly prototype changes in a Java codebase
Today, as an exercise, I coded up a simple piece of java and ruby integration, via JRuby.
The task I set myself was simple. Start with a java only application, and then use JRuby to rapidly prototype adding a new feature to it. I used my favourite sample application: A library with three entities, books, borrowers [...]


