RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

moonmaster9000 — 9 posts

http://github.com/moonmaster9000

Decoupling Persistence from your Domain  moonmaster9000.tumblr.com
A method for using either inheritance (with naming conventions) or mixins to segregate persistence concerns from your domain models. README / example code on github here. Blog post / comments here.
Continuing my series of posts comparing and contrasting the dynamically-typed imperative language Ruby with the strongly-typed declarative language Haskell, I’ll now examine the abilities of these languages to create mutually recursive data structures.
It's no secret that declarative languages falter when it comes to IO and "side-effects"; so how does Haskell fair against Ruby for a script that converts text files to unix style line endings?
an algorithmic showdown by a ruby practitioner with declarative aspirations...
Just released liquidity, a simple gem to simplify the process of creating column-sorted liquid layouts.
A humble attempt to present both the class-variable inheritance gotcha in ruby, as well as several ways around the problem depending upon your needs (mutable or non-mutable class attributes).
I released Dupe 0.5.1 over the weekend, it includes support for mocking the full life cycle of an ActiveResource object (create, find, update, delete).
Introducing the new binder gem. Read about the impetus for this here and here. Checkout the source here.
If you're going to create a service oriented rails app with ActiveResource, why not cuke the frontend first, letting the frontend drive the services you'll eventually create in the backend service provider? Dupe is the factory-girl of services, and makes outside-in BDD with cucumber possible for a service oriented app. Get gem installation instructions and an overview of the features or check out an in-depth tutorial that takes you through the cuking process with dupe.