08 Aug '12, 9pm

Old but good post on Ruby mixins and a class alternative:

Old but good post on Ruby mixins and a class alternative:

Ruby’s “mixins” provide a simple, middle-ground option to developers that wish to include reusable functionality in several classes. When using C++-style multiple inheritence, class hierarchies quickly become muddy, and it becomes necessary to look in several places to find the “core” behavior of a class. Mixins allow you to move reusable methods into modules. These methods can provide an extended interface based on the base functionality of your class (such as the Enumerable module), or they can be used to include “helper” methods (such as ActiveSupport’s Memoizable). Using mixins to include reusable behavior, such as helper methods or interface extensions, can greatly reduce repetition and bloat in your code.

Full article: http://robots.thoughtbot.com/post/159805602/nosy-models

Tweets

Ruby Fibers: 8 Useful Reads On Ruby’s New Concu...

rubyinside.com 08 Aug '12, 8am

Ruby Fibers: 8 Useful Reads On Ruby’s New Concurrency Feature By Peter Cooper / May 13, 2009 New to Ruby 1.9 is the concep...

Better Ruby Idioms « Katz Got Your Tongue?:

yehudakatz.com 04 Aug '12, 6am

@wycats: Rather than “overriding include” I might prefer to call it sidestepping or bypassing extend(). In fact I don’t th...

Woohoo! bootstrap_flash_messages is featured in...

rubyweekly.com 09 Aug '12, 12pm

'Refinements' Added to Ruby Trunk Floating around as an idea for a couple of years now, 'refinements' extend the functiona...

Do you know how to write an internal DSL in Ruby?:

rubylearning.com 08 Aug '12, 6am

Ruby code blocks (called closures in other languages) are chunks of code between braces or between do- end that you can as...

Ruby Constructs: Class, Module and Mixin

rubyflow.com 31 Jul '12, 10pm

Ruby Constructs: Class, Module and Mixin Posted by mattetti on July 31, 2012 — 0 comments I wrote an overview of some of t...

Google Shopping – The Balance Between Old & New

searchengineland.com 09 Aug '12, 4pm

One of the most talked about changes introduced by Google on May 31, 2012, is the launch of a paid program from Google Sho...

Audi Announces Exclusive R8 Models for U.S. Market

Audi Announces Exclusive R8 Models for U.S. Market

justluxe.com 08 Aug '12, 6pm

Audi will create 2012 R8 models exclusively for the U.S. market. The company announced today that 50 Audi R8 vehicles will...

Decent article: "Ruby concurrency explained"

Decent article: "Ruby concurrency explained"

merbist.com 08 Aug '12, 5pm

Earlier we talked a bit about the actor model . Since Ruby 1.9, developers now have access to a new type of “lightweight” ...

Interactive Ruby Learning

rubyflow.com 05 Aug '12, 4pm

Interactive Ruby Learning Posted by samnang on August 05, 2012 — 0 comments This weekend, I gave a talk about Interactive ...

10 Old SEO Methods You Need to Stop

searchenginewatch.com 07 Aug '12, 1pm

I'm proud to say that I've never been responsible for a site that has been punished by any of the Google Panda/Penguin upd...

How to install and configure Ruby on Rails with...

ruby-forum.com 06 Aug '12, 3am

Hi All, I decided to write some blog entries on my pet project for running Ruby 1.9.2 and Ruby on Rails 3.0.5 on Windows S...

"Ruby Weekly" celebrated its TWO YEAR anniversa...

rubyweekly.com 02 Aug '12, 12pm

Welcome to issue 104 of Ruby Weekly! I've recommended Marc Andre Cournoyer's Rails classes in the past and now he's doing ...

Cryptologist Tech (Collection) PO 1st Class (Ex...

militarytimes.com 06 Aug '12, 1pm

Navy Cryptologist Technician (Collection) Petty Officer 1st Class (Expeditionary Warfare Specialist) Michael J. Strange Di...

Problems with gems and Ruby 1.8.7 - Ruby Forum:

ruby-forum.com 08 Aug '12, 5am

Hello... yum install ruby-devel solved it for me when installing rails [waldyd@waldyd Homework 2]$ sudo gem install rails ...