1.9.1?

Hi –

On Thu, 5 Feb 2009, Radosław Bułat wrote:

On Thu, Feb 5, 2009 at 4:09 AM, Ken B. [email protected] wrote:

AFAIK, Rails isn’t available for 1.9 yet, and much of the good stuff in
the Ruby 1.9 APIs is actually inspired by and taken from Rails.

I don’t think so. I can name only one thing (Symbol#to_proc) which was
popularized by rails (and even not invented by rails itself).

There’s also #each_with_object.

David


David A. Black / Ruby Power and Light, LLC
Ruby/Rails consulting & training: http://www.rubypal.com
Coming in 2009: The Well-Grounded Rubyist (The Well-Grounded Rubyist)

http://www.wishsight.com => Independent, social wishlist management!

On Feb 5, 2009, at 6:40 AM, David A. Black wrote:

stuff in
the Ruby 1.9 APIs is actually inspired by and taken from Rails.

I don’t think so. I can name only one thing (Symbol#to_proc) which
was
popularized by rails (and even not invented by rails itself).

There’s also #each_with_object.

I believe Enumerable#group_by also migrated from Rails.

James Edward G. II

2009/2/5 James G. [email protected]:

AFAIK, Rails isn’t available for 1.9 yet, and much of the good stuff in
the Ruby 1.9 APIs is actually inspired by and taken from Rails.

I don’t think so. I can name only one thing (Symbol#to_proc) which was
popularized by rails (and even not invented by rails itself).

There’s also #each_with_object.

I believe Enumerable#group_by also migrated from Rails.

It is also in ruby facets. I guess that facets invented many things
that was imported to rails but I don’t know what about group_by.


Pozdrawiam

Rados³aw Bu³at
http://radarek.jogger.pl - mój blog

2009/2/5 Rados³aw Bu³at [email protected]:

It is also in ruby facets. I guess that facets invented many things
that was imported to rails but I don’t know what about group_by.

Facets collects many more things than it invents.

-greg

Rados³aw Bu³at wrote:

On Thu, Feb 5, 2009 at 4:09 AM, Ken B. [email protected] wrote:

AFAIK, Rails isn’t available for 1.9 yet, and much of the good stuff in
the Ruby 1.9 APIs is actually inspired by and taken from Rails.

I don’t think so. I can name only one thing (Symbol#to_proc) which was
popularized by rails (and even not invented by rails itself).

HashWithIndifferentAccess?

2009/2/5 Phlip [email protected]:

HashWithIndifferentAccess?
What does this have to do with Ruby 1.9 inclusions?

sandal:~ $ irb19

{ :a => 1 }[“a”]
=> nil

HashWithIndifferentAccess
NameError: uninitialized constant HashWithIndifferentAccess
from (irb):2
from /Users/sandal/lib/ruby19_1/bin/irb:12:in `’

Unless it’s under another name, I think this was an idea that was
toyed with a while ago and dropped.

-greg