Best of RubyFlow: 12 Ruby Links From March 2010
RubyFlow is Ruby Inside's community driven sister site where you can post cool Ruby links you want to share (even of your own stuff). With 20–80 posts each week, there's too much to cover on Ruby Inside, but I want to provide a regular roundup of the "best of" RubyFlow. This instalment covers early March — enjoy!
Figure out %s() and other % shortcuts I just wrote up all the %() shortcuts I know about go take a look and hopefully learn one or two you didn't know about!
An Interview Question That Prints Out Its Own Source Code (In Ruby) I recently decided to play around with writing a ruby quine (especially since there didn't seem to be many around). Along with discussing the possible merits of quines as an interview question, here is what I came up with.
StackOverflow cool Ruby questions 4 Just posted the 4th post of this series.
Rit – The anti-CMS content scheduling system in Rails Need to support business users updating website content? You need a CMS right? Probably not. Introducing Rit. – The anti-CMS content scheduling system in Rails. Rit. is a standalone web application that allows users to edit multiple editions of website content and designate when that content should show up on the site. Site content is served up to a consuming application as a web service.
Outsource your site-wide search with Binged An introduction to using Binged, a ruby wrapper for the Bing Api.
Vim for Rails Development Where to start and how to learn Vim for Rails Development by referencing some books/screencasts.
Spree 0.10.0 Released We've just released the newest version of Spree which is an open source e-commerce framework for Ruby on Rails. Highlights include: theming, REST API and Ruby 1.9 support. See the release announcement for more details.
Install any Java library as a JRuby gem Charles Nutter said "… a prototype Maven server that looks and feels like a RubyGems source. By setting this server as a source (or passing it to the gem command), any Java library in the world is installable as a gem. Let me repeat that: ANY Java library in the world, installable as a gem. This means you can also use Maven artifacts as dependencies in regular Ruby gems, and it additionally means we won't have to re-release jar files into their own duplicate gems on the standard repositories. It's very exciting, and we hope to have it ready for JRuby 1.5." You can get it here: maven_gem at github
light_mongo: a lightweight MongoDB object persistence layer for Ruby LightMongo is a lightweight Mongo object persistence layer for Ruby which makes use of Mongo's features rather than trying to emulate ActiveRecord. It's an interesting alternative to the already popular and somewhat awesome MongoMapper.
Multiple CPUs => Parallel Testing (now for every test-suite) Parallel tests now suppots any kind of test-suite(Test/RSpec/Cucumber), speeds up e.g. action_pack test-suite by 200%. Finally a good excuse for buying Dual/Quad-Core. Speedup those tests, go parallel!
Schema-Free MySQL vs NoSQL (with help from Ruby) There is no reason why we can't have a schema-free MySQL engine to compete with the NoSQL solutions. A look at what "schema-free" and "document-oriented" actually means, and the ruby code to make it work.
And for comic relief (don't visit if you're easily offended):
Dicks 0.02 Released A new version of Boliver T. Shagnasty's dicks gem was released today. For those who don't know, dicks is a "Brutish way to print out a bunch of ascii dongs". Critical stuff here.