02 Mar '12, 10am

Class and Instance Variables In Ruby // RailsTips by John Nunemaker

Update (6/13/2008): I posted a bit more on the topic with example uses in the wild . First, let me preface this article with a fact: I’m new to Ruby, however, new is relative in that statement. I’ve been toying with Ruby for over a year but only in the last two months have I really started to code in Ruby and Rails. Ruby is the first language I have learned that has involved more than just picking up a new syntax. It has a few concepts that have taken/are taking a bit to grasp (such as iterators and inject). One concept that I think has finally clicked is class variables versus class instance variables. In the past whenever something was hard to grasp in a few minutes, I would just memorize how to use it and the situations that it was typically used in rather than the “what it does” and “why to do it.” The past weeks I have taken a stand against myself on this issue. I am ...

Full article: http://railstips.org/blog/archives/2006/11/18/class-and-i...

Tweets

@bphogan It was around the same time as I wrote...

rubyinside.com 02 Mar '12, 8pm

Luis Lavena is the new maintainer of the popular Ruby "One-Click Installer" for Microsoft Windows. As part of this new rol...

#TrueSay Interesting short read! - I Have No Ta...

railstips.org 04 Mar '12, 10am

I relate to your testimonial here, as I do believe it’s the most accurate description of how to achieve proficiency at som...

@MikeG1 can you promote rails-api on Thanks!

afreshcup.com 12 Mar '12, 4pm

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

#Ruby Ruby in Twenty Minutes

ruby-lang.org 03 Mar '12, 9am

This is a small Ruby tutorial that should take no more than 20 minutes to complete. It makes the assumption that you alrea...

The Mega Ruby News and Release Roundup for Febr...

rubyinside.com 02 Mar '12, 3pm

a new Ruby 1.9.3 release, REE's end of life, Spree 1.0, some Rails 4 news, Devise 2.0, a new private gem hosting service ....

writing readable ruby

rubyflow.com 03 Mar '12, 5pm

writing readable ruby Posted by alindeman on March 03, 2012 — 0 comments Over on the Highgroove blog , Brian posts some th...

How to add a instance variable through a mixin?...

ruby-forum.com 27 Feb '12, 7am

On 2/12/08, [email protected] <[email protected]> wrote: > end > object of MyClass. You don't really add ins...

the { buckblogs :here }: Method visibility in R...

weblog.jamisbuck.org 03 Mar '12, 5pm

The difference between protected and private is very subtle, as you can see, which explains why protected is rarely used b...

Huh, had no idea instance_values was Rails and ...

apidock.com 02 Mar '12, 4pm

Returns a hash that maps instance variable names without “@” to their corresponding values. Keys are strings both in

Shoulda Looked At It Sooner // RailsTips by Joh...

railstips.org 07 Mar '12, 9pm

Great writeup. Glad you’re finding Shoulda feels good. A few common requests and complaints have floated around Shoulda fo...

How to create a Ruby extension in C in 43 second

rubyinside.com 01 Mar '12, 9pm

Zenspider, the master of all things Ruby crossed with C, picked up the gauntlet and, using RubyInline (previously covered ...

Rookie Class 2012: Who are you looking forward ...

lpga.com 06 Mar '12, 3pm

The 2012 rookie class answered the question, "Who are you looking forward to meeting the most on Tour? Why?" Player Countr...

John Carter

gv.com.sg 07 Mar '12, 4am

From Academy Award(R)-winning filmmaker Andrew Stanton comes "John Carter"--a sweeping action-adventure set on the mysteri...

Metaprogramming in Ruby: It’s All About the Self

yehudakatz.com 07 Mar '12, 8am

@wycats Right. That is why they are unnecessary and only confuse developers. I didn’t see this until I happened to discove...

John Carter (In 3D)

gv.com.sg 07 Mar '12, 4am

From Academy Award(R)-winning filmmaker Andrew Stanton comes "John Carter"--a sweeping action-adventure set on the mysteri...