Subscribe to Ruby Weekly here.
|
Issue 81 - February 16, 2012 From the Editor's Desk.. Welcome to issue 81 of Ruby Weekly! Today I've put a few items specifically about code metrics/analysis into their own section, if you're into that topic. Other than that, see you next week :-) Headlines
Spree is almost certainly the most popular, fully featured Rails-based e-commerce system and its creators are proud to announce the release of version 1.0.0. This follows the $1.5M seed funding of Spree's parent company in October 2011.
RubyMine is a popular Ruby and Rails IDE by JetBrains (the folks behind IntelliJ IDEA). A focus has been put on improving its performance and UI, but it now also supports all of Rails 3.2 features, including CoffeeScript compilation right from the IDE.
Reading
Pry is a popular alternative to IRB and in this post, its creator John Mair looks at several of the additional plugins people have developed for it.
Injecting 'roles' into Ruby objects has been a hot topic lately. What's the right approach for augmenting an object at runtime? Here, Mike Pack looks at some techniques including extend, mixology and delegators.
Want to do spam detection, classification, language detection or similar? Bayes classification may be for you. This post walks through how it works before producing a Ruby implementation.
Piotr Solnica looks at the 'fat model' problem in Rails and outlines an approach to split out model behavior and persistence. It's from 2011 but I missed it first time around and enjoyed it enough this week that it's going in!
Focus: Code Quality and Metrics
Josep M Bach of Codegram wants you to 'gain new insights about your code thanks to static analysis.' He introduces Pelusa, a tool that analyzes your Ruby code and alerts you to potentially bad practices.
The Ruby Rogues convene to talk about code metrics, static analysis, and other analysis tools. A lot of depth here.
It seems to be quite the week for code analysis and quality projects in the Ruby world and here Xavier Shay introduces 'Cane' which takes yet another approach.
Libraries and Code
Got lots of Resque processes running at once? Sidekiq offers 'simple, efficient message processing' for Rails 3 applications and due to its actor-based concurrency, a single Sidekiq process could do the work of many Resque ones.
Capybara has become the de facto Ruby acceptance test framework for web apps and Prickle takes things a step further with extra methods for finding elements, performing actions, and more.
This project won API Hackday NYC 2012 and as well as letting people queue tracks to play using the (awesome) Spotify, you can speak with other 'water cooler' users using the Twilio API too.
Still in a highly experimental state, Newman is a micro-framework aiming to do for email-based applications what Rack and Sinatra have done for web apps. Gregory Brown leads the project.
Jobs Last but not least.. No big announcement yet but you can now sign up to be notified when Ruby Reloaded 5 is taking place (sometime in March) as well as get a discount. If you don't know what Ruby Reloaded even is (it's an online course I run), you can read about that too! :-)
You opted in to Ruby Weekly at RubyWeekly.com to get weekly e-mails about the Ruby programming language. Reading this as a non-subscriber? Click here to subscribe. To unsubscribe, click here or e-mail the list maintainer directly at rw@peterc.org. To change your e-mail address, click here. Address: Office 30, Lincoln Way, Fairfield Enterprise Centre, Louth, Lincs, UK, LN11 9EJ |