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.
"Holeless" page caching for Rails
Users never have to wait for cached pages to be generated (unlike the page caching that ships with Rails). Inspired by Pivotal Labs’ Rails, Slashdotted: no problem I’ve created this Page Cache plugin to give Rails holeless/seamless page caching. The README and source is on github and here’s the blog post explaining how I use it.
The missing guide of rails 2 generator part 1
When I try to find a guide about how to write rails generator, I can’t find a good one. So I decide wrote The missing guide of rails 2 generator part 1. Though Rails 3 will come, but I think people will keep using rails 2 for a long period.
Design help needed on Radiant CMS
Is high quality open source design possible? I’m trying to find out. Read my help wanted blog post.
Smooth Devoperations: Deploying Rails 3 with Moonshine
Rail 3.0 is now in beta. I don’t know about you, but I’ve already written my first Rails 3 application. Allow me to share with you the tale of deploying it with moonshine
Early Bird Tickets available for RubyNation
Early Bird Tickets are available for RubyNation, a two-day, dual-track Ruby and Rails conference presented by the Washington, DC Ruby Community April 9-10 at the Sheraton Hotel in Reston, Virginia. RubyNation 2010 features a keynote presentation by Dave Thomas and lots of other wonderful speakers, including Gregg Pollack, Nick Sieger, Joe O’Brien, Russ Olsen, Jim Weirich, and many more.
Using Ruby's Queue class to synchronize threads
A short example of how Ruby’s built-in Queue class helps one thread defer work to another, in this case to batch update SimpleDB.
Great Lakes Ruby Bash - Call for Proposals
We are pleased to announce that we are accepting talk proposals for the Great Lakes Ruby Bash to be held on Michigan State University’s campus in East Lansing, Michigan on Saturday, April 17th. More Info
LARubyConf Aaron Patterson on Mechanize and Nokogiri
Aaron Patterson one of the creators of nokogiri and Mechanize talks… Aaron Patterson on Mechanize and Nokogiri.
New Screencast: Ruby Essentials - Strings, Arrays and Hashes
Are you new to Ruby and want to get a head start? In this screencast, I discuss some of the most common methods and techniques that have to do with strings, arrays and hashes. This is also excellent for those coming from other languages. Watch this screencast and more at TeachMeToCode.com
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.