11 Feb '12, 10pm

Convert Ruby 1.8 to 1.9 hash syntax

thoughtbot giant robots smashing into other giant robots We are thoughtbot , a web design and development agency in Boston, MA. twitter newsletter rss feed February 11, 2012 Tagged: hash syntax regular expressions ruby vim Comments (View) Convert Ruby 1.8 to 1.9 hash syntax In vim, for an entire file: :%s/:\([^ ]*\)\(\s*\)=>/\1:/g In the shell, for an entire project: perl -pi -e 's/:([\w\d_]+)(\s*)=>/\1:/g' **/*.rb Now, instead of those old-school hashes like this: get '/', :agent => MOBILE_BROWSERS do You’ll have new-school hashes like this: get '/', agent: MOBILE_BROWSERS do dancroak

Full article: http://robots.thoughtbot.com/post/17450269990/convert-rub...

Tweets

Ruby

tryruby.org 14 Feb '12, 12pm

this is freaking awesome, stumbled across it to...

isitruby19.com 12 Feb '12, 11pm

The Ruby community needs your help. Install Ruby 1.9.1 then try out your favourite gems and provide feedback here. We can ...

linecache gem ruby 1.9 compatibility:

isitruby19.com 12 Feb '12, 11pm

This using ruby-head (at the time) ruby 1.9.2-p180. Wasn't working at first. Was failing with the following exception: ---...

Ruby 1.9.3-p125 をリリースした

ruby-lang.org 16 Feb '12, 12pm

a security fixes of the Ruby OpenSSL extension . And many bugs are fixed in this release.

Do you know Ruby Doctest?

rubylearning.com 11 Feb '12, 7pm

USAGE: rubydoctest [options] rubydoctest parses Ruby files (.rb) or DocTest files (.doctest) for irb-style sessions in com...

Ruby 1.9.3-p125 and 1.8.7-p358 have been released

ruby-lang.org 16 Feb '12, 12pm

Security Fix for Ruby OpenSSL module: Allow "0/n splitting" as a prevention for the TLS BEAST attack. Denial of service at...

Ruby GSSAPI v1.1.0

rubyflow.com 10 Feb '12, 3pm

Posted by zenchild on February 10, 2012 — 0 comments I just pushed out version 1.1.0 of the Ruby GSSAPI library. Changes i...

Check out an awesome and brand new Cloud Out Lo...

engineyard.com 10 Feb '12, 5pm

Engine Yard, Inc. Log in Login to Engine Yard Cloud Login to Orchestra PHP Cloud Products Engine Yard Cloud Engine Yard Ma...

New recommended Ruby version: Ruby 1.9.3-p125 i...

rubyflow.com 16 Feb '12, 10pm

New recommended Ruby version: Ruby 1.9.3-p125 is released Posted by DanielKehoe on February 16, 2012 — 0 comments Ruby 1.9...

Appending to an Array - Ruby Forum:

ruby-forum.com 11 Feb '12, 10am

I am querying a database using DBI and ODBC. After I run the execute, I want to grab each row as an array, and add it to a...

Love the new @engineyard support customer satis...

engineyard.com 17 Feb '12, 4pm

How Are We Doing? Every day is an opportunity to delight our customers. We conduct a survey after every single support tic...

Ruby Programming 31st Batch: Registrations now ...

rubylearning.com 10 Feb '12, 9am

The Mentors shall give you URL’s of pages and sometimes some extra notes; you need to read through. Read the pre-class rea...

A Unix Shell in Ruby

rubyflow.com 16 Feb '12, 12pm

Posted by jstorimer on February 16, 2012 — 0 comments I just published the first article in a series where I implement a U...

any ruby gems for /programmes other than

rubygems.org 14 Feb '12, 3pm

Ruby client library for the BBC Programmes website.