See the full issue archive.
Subscribe to Ruby Weekly here.
Issue 120 - November 22, 2012
Welcome to issue 120 of Ruby Weekly. If you're celebrating Thanksgiving today, I hope you're having a good one. My thanks go to you for being subscribed to this newsletter :-) If you do not celebrate, well.. back to work we go. - Peter.
I've editorialized the title somewhat but this article by Charles Nutter is a great look into the world of 'refinements' in Ruby 2.0, what they're intended for, and all of the challenges they throw up, both for developers and language implementers.
It's DHH's latest release :-) Congratulations to him and his growing family. And before anyone complains about having a human interest story in the newsletter, have a heart - it's Thanksgiving.
Little to read but Ruby 2.0 is now most clearly on the edge Rails developers' radar.
Use Cloudinary instead. Eliminate further image-related development, remove image bottlenecks, reduce support load, improve user experience and enjoy rich online image manipulations. Check Cloudinary out. Get going within minutes. Free signup.
Just last week, Amazon announced Ruby support for its AWS Elastic Beanstalk semi-automated deployment and scaling system. This tutorial by Loren Segal fills in all the blanks by walking us through using it from start to finish with a Rails app.
An excellent story and walkthrough about both preparing a talk for RubyConf 2012 and what happened while the speaker was there. More articles like this please.
James Golick presents an examination of the flaws in Ruby 1.9.3's included garbage collector instrumentation in his typically punchy style. Luckily he presents a potential solution too: GC::BasicProfiler.
Two developers moved a large Ruby webapp between two machines and experienced a 50% drop in performance. Why? Clue: It was something to do with RVM.
We see articles like this quite often but there are a lot of handy links here despite not being particularly Ruby focused.
An interesting approach to content management. Let users enter text in a Google Drive spreadsheet, grab it with Ruby, and use the data to create your content or templates locally.
It's not a true yield gotcha but is something you might trip over nonetheless regarding earlier than expected returns. Luckily, 'ensure' blocks help save the day.
Four steps: measure, find the problem, fix, and repeat.
Ryan Bates is back with another Rails Cast, this time demonstrating how to create a 'temporary guest record' in a Rails app so users can try out apps without filling in their information up front.
Back in October, Matz spoke at LinkedIn about his background, Ruby's history, and his current work. I enjoyed this.
Change has been afoot with Ruby's attitude to YAML parsing for a while now but the shift from Syck to Psych can still cause issues. If you still have legacy Syck-produced YAML files around that are causing problems, this code might help.
Very lightweight and very Ruby (in the best possible way).
An 'ultra-minimal' (around 80 lines) alternative to RVM and rbenv. chruby allows one to install rubies into /usr/local/$ruby, /opt/$ruby or ~/.rubies/$ruby but install gems into ~/.gem/$ruby/$version. chruby only modifies $PATH, $GEM_HOME and $GEM_PATH, and does not hook cd or rely on shims.
Being silly enough to not send me a copy for review or give me a title, all I can do is say Giles has written an interesting sounding book about how 'DHH gets OOP wrong' but why that's OK. It costs money but hopefully we'll see some reviews soon. He does have a no-quibble refund policy, however, and his writing is always an eye opener.
Address: Office 30, Lincoln Way, Fairfield Enterprise Centre, Louth, Lincs, UK, LN11 0LS