The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Public Alpha of MagLev Released
Though first announced in early 2008, the highly anticipated super-implementation MagLev has finally got its first public alpha release. I’ve written about it on Ruby Inside and shown how to get it running.
State of Ruby VMs: Ruby Renaissance
There are 8 alternative Ruby VM’s and 4 of them will hit 1.0 status in the upcoming year. A detailed look at the past year and where the community is heading (hint: it’s an exciting time to be a Rubyist).
SmallRuby: Ruby implementation for Smalltalk/X VM
SmallRuby is a new Ruby implementation for the Smalltalk/X virtual machine. On some selected benchmarks, SmallRuby trumps existing Ruby implementations 10-40x performance-wise (though take this with a pinch of salt for now). This is a project worth watching..
Setup REE, nginx and Passenger on Ubuntu
A short guide on setting up Ruby Enterprise Edition (REE), nginx and Passenger, for serving Ruby on Rails applications on Ubuntu.
RAIN - The Smart Repository Management Tool
I just launched RAIN v0.3.2 Check my post about it with examples and a screenshot click here
Update on my Rails Learning Experience
After learning how to build a cart than can keep track of orders, it’s time to make those orders happen. When we were dealing with our cart, we didn’t worry about creating database tables for the core thing the cart holds: cart items, so the time has come to finally create a model for that and for the orders taken (so they too will be stored at the database), and we’ll do it by using script generators at the command prompt… Read More
G: Like Kernel#p but outputs to Growl on OS X
“g” is a new library that provides a global “g” method that you can use to inspect objects much in the same way as Kernel#p. The difference is that the output goes to Growl, a popular OS X global notifications tool. It’s technically an easy gem install and go, but if you have problems with it not finding Growl, this blog post about getting ruby-growl working should salve your distress.
Complete Code Coverage For Rails
I wrote a short blog post on checking the combined code coverage for different styles of Rails tests.
Reflection: Keep your development machine in sync with production
I just released Reflection. A gem, designed to keep your development system in sync with your production system’s files and databases.
Cached pages with dynamic partial == Easy-Esi
Just replace <%= render ‘partial’ %> with <%= esi_render ‘partial’ %> and the whole page can be cached, but these partials will be freshly rendered. Easy ESI
Announcing Ruby Community Statistics
We just launched Ruby community statistics, which gives access to various metrics across the community. We generated some graphs based on the current data, a code metrics scatter plot tool for making comparisons, and made all of the data available via our API so you can dig into it. Now you can get answers on question like, does code with more duplications have higher complexity?
A Rubyesque interface to Gmail
Daniel Parker of BehindLogic.com has just released ruby-gmail with the following features: [more inside]
rails_best_practices gem
ihower introduced his Rails Best Practices presentation before, my rails_best_practices gem is used to automatically check your rails app files according to his presentation.
cross posting tweet links to delicious
this is the kind of thing that you can spend more time searching for than writing. delighter is a simple class/script for yanking twitter links into delicious bookmarks.
Getting started with DataMapper (and Merb) on JRuby
Just posted a getting started tutorial if you’re interested in using DataMapper on JRuby.
Jammit 0.2.4: with Google Closure Compiler Compression
Jammit 0.2.4 (asset packaging for Rails) is out this afternoon, with support for JavaScript compression via the Google Closure Compiler, in addition to the YUI Compressor. To support this new option, we’ve also released the closure-compiler gem, as a standalone wrapper.
Request-log-analyzer 1.5.0 released
I just released request-log-analyzer version 1.5.0, now with support for MySQL slow query logs to see what queries are slowing down your database. To install or upgrade: gem install request-log-analyzer
Ensure With Explicit Return
Les Hill from Hashrocket posted an interesting article on ensure. He goes over explaining what ensure does and what happens when ensure is used with return.
Announcing DataMapper/SimpleDB Adapter 1.0.0
New features include DataMapper 0.10 support, lazy loading, Serial properties, and more complete query support.
Practical Metaprogramming with Ruby: Storing Preferences
Patrick McKenzie wrote up an interesting blog post that follows nicely after last weeks, It’s All About the Self.
MacRuby 0.5 beta 2 released (rack, sinatra, dtrace, AOT compilation and more)
MacRuby 0.5 beta 2 just got released, read the official blog post.
How to prototype VST audio plugins with JRuby and Java
In this article I present some work around the topic: is it possible to use Ruby to make it easier to prototype VST plugins?
Final 'Key-Value Stores Series' Post is Live!
The final post in Kirk Haines series on Key-Value Stores has just been posted, covering CouchDB, S3 and Moneta. Check it out, as well as the rest of the series, if you missed it. Six parts in total.
GridFS-RackDAV released
I’ve just released GridFS-RackDAV which enables you to use GridFS as backend for WebDAV collections through RackDAV