10 things to be aware of in 1.8 -> 1.9 transition

On Fri, 16 Jan 2009, Phlip wrote:

  • new conveniences and benefits
    Well, my whole book is about 1.9 :slight_smile:

David


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

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

On Thu, Jan 15, 2009 at 8:19 PM, David A. Black [email protected]
wrote:

Hi –

On Fri, 16 Jan 2009, Phlip wrote:

h = { a: 42, b: 42 }

I thought the new label: syntax was worth a top-level citation.

It’s cool but it doesn’t belong on the original list, because it’s not
something that might make your existing code fail to work, which is
Ah there is one tiny little thing which bite me quite hard, maybe you
wanna mention it

580/206 > ruby186 -v -e 'p [?, ?\ ] ’
ruby 1.8.6 (2009-01-06 patchlevel 291) [i686-linux]
[42, 32]
[email protected]:~/tmp 02:40:59
581/207 > ruby187 -v -e 'p [?
, ?\ ] ’
ruby 1.8.7 (2009-01-06 patchlevel 78) [i686-linux]
[42, 32]
[email protected]:~/tmp 02:41:04
582/208 > ruby191 -v -e 'p [?, ?\ ] ’
ruby 1.9.1 (2009-01-06 patchlevel-5000 trunk 21356) [i686-linux]
["
", " "]

R.

Hi –

On Fri, 16 Jan 2009, Phlip wrote:

I’m not really dealing with 1.8.7 in my book (nor much in general).

The problem with that theory that certain Rails sites (I’m not naming any
names!) run 1.8.7 on their servers, for the latest patches, but their
developers still use 1.8.6 on their workstations, for all the mature tools…

I’m not directly concerned with Rails in the book (The Well-Grounded
Rubyist is descended from, but not the same as, Ruby for Rails), and I
think most people are focused on the 1.8.6-to-1.9.1 transition.

David


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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs