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.
Going To The Source Of Open Source - In This Case, Rack
A short and instructive example of how studying open source code from well-tested tools and libraries can lead to immediate benefits in your own code. In this example, a technique for transforming single-item collections is extracted from Rack and examined.
Drop-Dead Simple Token Generation
For Inspectinator, I needed a lightweight token generator to allow people to share their results. I found a great solution, and learned a cool ruby trick, too. Details
workflow and decision tables
In ruote and decision tables, I show how to make ruote workflows and rufus decision tables work together.
Simple, Semantic Graphing for Ruby on Rails with Seer
Seer is a lightweight, semantically rich Ruby on Rails gem that provides a seamless interface to the Google Visualization API. You can easily create a graph or chart in a variety of formats and display it in your app with only a single line of code. The gem is available now through Gemcutter. A full intro can be found on my blog: Simple, Semantic Graphing for Ruby on Rails with Seer.</p>
sequel_sluggable
I just released sequel_sluggable. Simple Sequel plugin adding slug generation functionality to your models.
Building Real-time web apps with Rails3
I wrote a introductory blog post on how to use Cramp with Rails3 to build Real-Time Web Apps .. Read the post
New gem - SuperModel - ActiveModel in-memory databases.
I just released SuperModel - a library for in-memory databases. Supports: * Serialisation, * Validations, * Callbacks, * Observers, * Dirty (Changes), * Ruby Marshaling to disk, * Redis
A simple lock file implementation, now in gem form.
A while ago i created a simple lock file implementation for a one off project. It’s now available as a Gem for others to use. Check out the post for more information.
Finland's First Rails Conference – May 7, 2010
The Frozen Rails conference is set to be Finland’s first and finest Rails conference. The conference has a high-profile line-up, and we have managed to get three core developers (Yehuda Katz, Carl Lerche, and Pratik Naik), Chris Wanstrath, and other stars to give talks at the conference.
Adding Tropo to Google Wave in Ruby
Another tutorial from @zlu on running conference call from Google Wave using Tropo and Rave. Tropo Blog
Looking for a new maintainer for NullDB
The time has come to turn over NullDB maintainership to someone who uses it regularly.
Data Serialization + RPC with Avro & Ruby
Apache Avro is an RPC + data serialization library used by the Hadoop project (and a competitor to Thrift, Protocol Buffers, etc). A look at the Ruby interface and the features of Avro.
Rails Metrics Screencast
José Valim from PlataformaTec just released a screencast about RailsMetrics. RailsMetrics is a Rails 3 engine which listens to ActiveSupport::Notifications and store them in the database, so you can know what is happening in your application at each request and create some charts and statistics. In this screencast, José Valim shows how to install it, takes a quick look at the source code and tell you how you can make RailsMetrics even better.
A Hint of Hubris
Larry Diehl posts on how to leverage Haskell in your Ruby code, and the other way around.
Fun with active record
I’ve recently been working on a feature that required UNION’s, locking, and much more.
Chapter 4 of "Ruby Best Practices" released
Over on the RBP blog, you can download Chapter 4 of “Ruby Best Practices”. Article also links to downloads of the first three chapters as well. Readers are encouraged to leave comments, in preparation for the book’s open source release in March, 2010.
RubySlide.com
RubySlide.com, inspired by RubyTu.be, gathers all the latest Ruby slides and presentations in one convenient place!
LA Ruby Conference: Luigi Montanez on Civic Hacking
LA Ruby Conference: Luigi Montanez on Civic Hacking — How can Ruby change cities, states, and countries for the better? Luigi Montanez’s upcoming presentation at the LA Ruby Conference discusses how cities, states and countries can be changed for the better with the development of civic-minded applications.
Twilio on Rails = Trails
Trails is built using the Twilio Ruby Library to make it easier to integrate the Twilio API into a Rails application.
Using Duby + JRuby for Fast Prototyping of Fast VST plugins
I’ve been working on JRuby/Duby interop to implement VST audio plugins. The first working plugin is a LP/HP filter (with cutoff and resonance). JRuby is used for declarative stuff, while Duby is used for computation intensive stuff. The combination gives an interesting Ruby-tasting audio programming experience.
Efficient ThinkingSphinx Testing with Test::Unit
After a year of fiddling around with different testing solutions for Sphinx, and getting frustrated with problems related to transactional fixtures and primary keys overflowing 32-bit-sphinx (not to mention the overhead of starting and stopping the daemon), I finally settled on a subclass of ActiveSupport::TestCase and a custom rake task. Read the writeup
TextMate shortcuts you should be using
I just posted a short list of most overlooked but very useful keyboard shortcuts in TextMate. See what you’re missing: TextMate shortcuts you should be using!
Netzke live demo updated: the window widget
The netzke-demo project has been updated with a live demo of Netzke::Window. Netzke is as framework that greatly facilitates creation of reusable ExtJS/Rails components.
Atlanta Ruby User Group Presentations Posted
This month we had several presentations concerning deployment: Matt Todd presented on Multi-app, Variable load deployment. We had a Chef vocabulary lesson, as well as a fairly detailed Chef walkthrough. Steve Touset created a gem for version stamping, and Adam Dill made the long trek from Alabama to tell us about Machinist - a tool that improves on factory girl… (He also brought the venerable Josh Adams for a personal visit)