31 Dec '13, 10pm

nice article from @thoughtbot on Evaluating Alternative Decorator Implementations In Ruby

Evaluating Alternative Decorator Implementations In Ruby Dan Croak December 26, 2011 design patterns ruby Recently, decorators have become a big part of my Ruby on Rails life. We used them heavily in a recent client project, Harold Giménez wrote a great post about them, Avdi Grimm is writing about them in Objects on Rails , and Jeff Casimir has a great presentation about them. Until recently, I still had some questions, however, such as: Should I roll my own decorators? If I roll my own, what are the tradeoffs of different implementations? Do I care about the "transparent interface" requirements of the Gang of Four's decorator definition? Is it good or bad that the decorated object's class is the decorator instead of the component? I'd like to try to answer those questions here. Intent A decorator is a design pattern. Its intent, as described in Design Patterns by the Gang...

Full article: http://robots.thoughtbot.com/evaluating-alternative-decor...

Tweets

Unable to find Ruby on Rails developers to hire in New York? We love working with NY clients. Get in touch!

Unable to find Ruby on Rails developers to hire...

planetargon.com 02 Jan '14, 6pm

Our team is always looking to help businesses and organizations succeed with their web projects. If you’re in New York and...

Top Ruby Article: Double Shot #1267:

afreshcup.com 31 Dec '13, 12pm

is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the univer...

Buenísimo video para relaciones “has_and_belong...

railscasts.com 03 Jan '14, 6pm

It is often asked: how do I create a list of checkboxes for managing a HABTM association? Ask no more because this episode...

Top Ruby Article: Double Shot #1269:

afreshcup.com 02 Jan '14, 12pm

is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the univer...

We still need a couple more sponsors to make @l...

larubyconf.com 09 Jan '14, 9pm

With out the continued support of the companies below the Los Angeles Ruby Conference would not be the quality it is today...

Writing a Ruby compiler bottom up, part 30 and 31

rubyflow.com 31 Dec '13, 6am

Writing a Ruby compiler bottom up, part 30 and 31 Posted by vidarh on December 31, 2013 — 0 comments I've just posted part...

@ollieread @danjordan Do something small (like ...

rubykoans.com 06 Jan '14, 3pm

The Koans walk you along the path to enlightenment in order to learn Ruby. The goal is to learn the Ruby language, syntax,...

Q+A with @gnupate: What I learned while writing...

on-ruby.blogspot.com 03 Jan '14, 5pm

As I studied Ruby over the past 2 years while working on the book, I’ve been surprised and intrigued by how much of Ruby’s...

Top Ruby Article: Double Shot #1270:

afreshcup.com 03 Jan '14, 1pm

is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the univer...

@autoprefixer попал в ruby weekly

rubyweekly.com 02 Jan '14, 9pm

Christmas Day didn’t disappoint for its tradition of having MRI Ruby releases. 2.1 has been a popular release so far with ...

Either way, found this blog post very useful

rubylearning.com 30 Dec '13, 10pm

How Do I Install A Ruby Gem With Native Extensions On Windows? One of the challenges many Ruby on Windows users have is ho...

Top Ruby Article: Double Shot #1271:

afreshcup.com 06 Jan '14, 12pm

is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the univer...

ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_6...

akitaonrails.com 02 Jan '14, 11am

Refinements - deixa de ser experimental e pode ser aplicado dentro de um Module também Decimal Literals - assim como no 1....