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.
Divining Rod - a gem for profiling mobile phones
I just released my Divining Rod gem, an easy way to profile incoming mobile requests based on the user agent or subdomain, and assign a format to them.
Store Rails sessions in MongoDB
I’ve just updated mongo_session_store with Mongoid support. I also wrote a blog post to learn how to use mongo_session_store with MongoMapper and Mongoid.
Rails 3 Generators - The Old Faithful
We’ve just posted the first stop on our tour of the changes in Rails 3’s generators. Take a look to see what’s new with the migration, model, controller, and resource generators (and stay tuned for more stops on the tour!)
Trouble with RailsTeam.com / Rails Team
Update: The people who made this post (I’m assuming RailsTeam.com/Rails Team are spammers. I’m leaving this post up here so we can collect info/anecdotes about them in the comments. Their links here are nofollowed, thankfully. [more inside]
ActiveRecord Lazy Attributes Extension
I just released an ActiveRecord extension which allows attributes to be loaded lazily. Especially useful for BLOB columns and the like.
"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.