Phusion Passenger 4.0.1 Released So reassured of its quality, the Phusion crew decided to leap straight to a more trustworthy 4.0.1 for the first stable release of Passenger 4, the popular Nginx and Apache deployment and server module for Rack apps. Upgrading to Rails 4 With the recen...
Many Rubyists will currently be at RailsConf 2013. If you are, I hope you're having a great time! This newsletter, however, has a bit of a MountainWest RubyConf vibe because a lot of the talks are being released this week :-) Featured Introducing Generational Garbage Collection for Ru...
"Peter does all the hard work of keeping up with the ruby world outside of my twitter feed and emails me a nice summary every week. Means I can be lazy and not do it myself. #Winning" Caius Durling Pizza Powered "Ruby Weekly keeps you up-to-date on the latest Ruby news with links to h...
Parsing JSON The Hard Way From the Practicing Ruby journal comes an excellent walkthrough of building a JSON parser from Aaron 'tenderlove' Patterson with the emphasis being on using parser and compiler tools in Ruby rather than parsing JSON per se. String#scrub Method Added to Edge R...
Detecting Faces with Ruby: FFI in a Nutshell Ruby's FFI (foreign function interface) library makes it possible to interact with external libraries from Ruby often without having to write any C code of your own. This post looks at the basics of using FFI before moving on to a more comp...
Working With Ruby Threads E-book Released Jesse Storimer, author of Working with Unix Processes and Working with TCP Sockets, is back with his third book that focuses on threading and concurrency in Ruby. He says you can use the code 'RUBYWEEKLY' to take $5 off. (We have no financial ...
Securing Your Rails Application: A Webinar (April 9) On Tuesday, April 9th at 9AM Pacific Time, Bryan Helmkamp will be giving a live, online presentation on Rails security issues. Ruby Matrix, the Forgotten Library An introduction to the Ruby standard library's 'matrix' library and ho...
MRI Ruby 1.8.7 to Receive No More Fixes From the End of June 2013 On the ruby-dev list, Urabe Shyouhei reminded everyone that 1.8.7 is entering its 'sunset' phase and while it's already not getting any bugfixes, it will also get no security fixes from the end of June onwards. The solu...
How Fast Are Your Tests? Try Tddium's Parallel CI For One Month Free Solano Labs, the maker of Tddium, has integrated major updates to make the product easier to use, and we want to share these awesome changes with you. These changes include Github Sign-In, Pull-Request & Status Integ...
Matz on Ruby 2.0 Matz spoke about Ruby 2.0 ('the happiest release ever') for 30 minutes at the Heroku Waza event a week ago and the video is already available to watch. He stresses that "Ruby 1.8 will die soon" and encourages everyone to upgrade. Dynamic Method Definitions Aaron 'tend...
Last Sunday marked the 20th anniversary of work commencing on Ruby way back in 1993 and it was celebrated in style with the final release of Ruby 2.0.0. Congratulations to Matz along with the rest of the core team and anyone else who has contributed over the years to the rich Ruby eco...
Just a few days until the final release of Ruby 2.0.0 folks, so if you're online on Sunday, keep your eyes peeled for that. I'll be back to present a roundup of all the best release related items next Thursday :-) Featured Ruby MRI Source Code Idioms #3: Embedded Objects Pat Shaughnes...
More Security Releases: Rails 3.2.12, 3.1.11, and 2.3.17 Released The Rails codebase is undergoing some serious security testing lately and so releases for critical vulnerabilities are popping up a lot. This week's releases tackle issues with serialized attributes and attr_protected c...
Topaz: A New Ruby Implementation Built on RPython A brand new Ruby implementation built upon RPython, a 'restricted' variant of Python ideally suited to implementing dynamic languages (it's also behind the super speedy PyPy implementation of Python). Don't expect to use this in produc...
RubyGems.org Compromised I wouldn't normally link to a Hacker News discussion but it's a great source of information. Basically, a gem was pushed to RubyGems.org that took advantage of a YAML-parsing vulnerability to break into some of the site's configuration files, prompting a wides...
In Browser Path Matching with JavaScript Makes It Into Rails 4.0 When debugging routes it can sometimes be difficult to understand exactly how the paths are matched. This pull request by Richard Schneeman adds a JS based path matching widget to the /rails/info/routes page. Includes a ...
Ruby 1.9.3-p374 is Released The last production patchlevel (p362) was released less than a month ago but many users encountered frequent segmentation faults with it. This release fixes that significant issue and includes some other minor fixes too. Use Metasploit to Verify Rails is Se...
Questions about version identification, hypermedia APIs, or handling versioned requests? Read this walkthrough from SmartLogic’s Eric Oestrich and Sam Goldman. They cover general best practices, plus tactical pros and cons of 3 different types of API architecture, with code to demonst...
Straight from Matz: "Since there still remain undefined corner case behavior in refinements, and the time is running out, I decided not to introduce full refinement for Ruby 2.0." More generally, there's a lot of debate going on around the role of refinements in Ruby 2.0 and whether t...
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. Featured Refining Ruby (or The Best Study of Rub...
Ruby 2.0.0 'Feature Freeze' Announced Right on schedule, the core Ruby team have announced a 'feature freeze' for the forthcoming Ruby 2.0. All this means for now is that no features not already approved by matz will make it into 2.0.0. JRuby 1.7.0 Released; Gets 1.9.3 Support as Defa...
Big news.. registration for the next Rails Rumble is open this week. Only for a few more days so act fast, etc. Never experienced a Rumble before? It's a 48 hour Ruby webapp (not just Rails) development contest that takes place online over a weekend with lots of interesting prizes.. g...
Issue 112 - September 27, 2012 Featured Turbolinks: Rails 4 to Get Ajax-based Page Loading by Default David Heinemeier Hansson has unveiled a pjax-a-like Ajax-based full page replacement library that will 'ship as default-on in Rails 4.0.' Worth investigating. Rails Rumble Registratio...
Issue 111 - September 20, 2012 Featured Yehuda Katz Needs Your Input on the Tokaido (a.k.a. rails.app) UI 5 months ago, Yehuda Katz raised $51k to work on Tokaido, an app designed to make setting up a Rails environment on OS X easy. He now has some mockups of the app's user interface ...
Active Admin 0.5.0 Released Active Admin is a popular administrative interface generation system for Rails and a new version has been a long time coming. 0.5 introduces batch actions (i.e. select multiple rows and delete them all), a customizable root route, and more view components a...
'Refinements' Added to Ruby Trunk Floating around as an idea for a couple of years now, 'refinements' extend the functionality of classes within a certain module namespace. Performance issues have kept them from being readily accepted but Shugo Maeda has added to the latest MRI Ruby t...
Welcome to issue 104 of Ruby Weekly! I've recommended Marc Andre Cournoyer's Rails classes in the past and now he's doing even more, so it's great to have him on board as a sponsor this week, check him out. Headlines Phusion Passenger Enterprise Released The chaps at Phusion have unve...
Welcome to issue 102. I'm busy preparing for the next run of Ruby Reloaded , my online Ruby course aimed at intermediate Rubyists. 6 seats remain with 6 days till it starts - check it out! Other than that.. here we go with the week's best :-) - Peter. Headlines Now In Print: 'Deployin...
GitHub Takes $100m of Funding The Ruby world celebrates its latest home grown business success, GitHub, who this week announced they've received $100m in funding from Andreessen Horowitz. Will every Rubyist eventually work there? Watch this space. Code Climate (Metrics Service) Is Now...
Welcome to issue 100 of Ruby Weekly! Somehow the big 'one hundred' snuck up on me and I haven't got a contest, a celebration or.. anything. So in the spirit of The Simpsons' '138th Episode Spectacular' I'll do something later ;-) Thanks for reading and your continued support - Peter. ...