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.
Tutorial: caching virtual attributes in the database makes you cool
Tutorial: caching virtual attributes in the database makes you cool
YAML.dump, 1600% faster
A new YAML.dump implementation that is many times faster in our real-world tests.
NamedScope For Those Left Behind
NamedScope For Those Left Behind: This is not simple hack of named scope like you might find in WillPaginate. This is a fully backported and tested version of NamedScope that will work on rails 1.2.6 or 2.0.4. The most important part of this plugin is that it is TESTED. In fact all the test are Shoulda/FactoryGirl ports of the tests currently found in rails 2.1.1. [more inside]
Configatron 2.1.4 Released
Configatron 2.1.4 Released: This release contains protection of already defined methods, such as object_id. Also in this release is a much improved inspect method.
FiveRuns Rails TakeFive Interview with Karel Minařík
FiveRuns has posted the latest Rails TakeFive interview, this week, from Prague, featuring Karel Minařík. Check it out here.
Top 5 uses for Capistrano
Capistrano can do way more than deployment: read our top 5 uses for Capistrano
How to has_many :though a has_many :through
Have two models that you’d like to join that are separated by two relationships? In this article Tim Harper (that’s me - I’m a third person!) describes a clever trick to achieve just that using named_scope finders, without losing the ability to chain additional named scopes. [more inside]
Searchgasm 1.3.0 released! Face melting modifiers / database agnostic searching
Searchgasm 1.3.0 released! Face melting modifiers / database agnostic searching
RailsXLS Revived
The RailsXLS plugin allows you to write xls files from a view template. Now it is also Rails Edge-friendly! More info here
Thin 1.0 Released
1.0 release of the popular Ruby based web server Thin was released. Read more from Marc-André Cournoyer’s blog or the announcement.
Scotland on Rails CFP
Last year over 100 attendees and speakers from around the UK, Europe and US came together in Edinburgh for what keynote speaker and RailsCore member Michael Koziarski recently described on stage in Berlin as “the best small conference” he had ever attended. [more inside]
Facebook style, unobrusive ajax pagination for will_paginate with jQuery
Using jQuery and will_paginate to add a Facebook style of bottomless pagination. See more here or skip right to github.
WeatherMan, a Ruby Gem for the Weather
I just finished up my first RubyGem WeatherMan. It’s based on RWeather but adds support for forecasts and more. You can learn more about it in this post I wrote or go straight to the GitHub project.
Automatically reduce image sizes with smushit
Smushit: reduces image sizes dramatically, lossless! Great for logos/icons…(but does not work for gifs) script to convert your files from the cmdline
Performance & Load testing with Log Replay
A hands on look at the available tools, and techniques to do log replay to simulate a collection of users + release of a Ruby driver to automate these tests.
Rake task for reek
A Rails oriented rake task for reek.
Refactoring a simple compiler written in Ruby
I’ve finally posted part 11 in my series on writing a compiler in Ruby. This part deals with splitting out most of the x86 specific code generation into a separate class to make the main compiler code more portable and maintainable.
Little Known Ways to Ruby Mastery by James Edward Gray II
The Path to Ruby Mastery Interview Series by Ruby Masters, provides guidance to and answers questions confronting Ruby beginners from across the globe. Today, James Edward Gray II reveals his secrets!
Rails special sauce for Test::Unit setup and teardown
Rails adds special sauce for handling Test::Unit setup and teardown
CouchDB as Rails.Cache store?
CouchDB is being used for all kinds of things these days. I’ve thrown together a plug-in called couch_store to use it as a cache store.
Missing The Flow
A short blog post about a Delphi programmer & PHP hacker missing completely the point about Ruby and Rails when tried to build a complete Business Process Manager application in 1 year.
BaseApp Announcement
Ariejan has announced BaseApp, a quick-start for your Ruby on Rails app.
Write your own custom DataMapper adapter
The Merbalist released an article on how he wrote his own Google Video DM adapter. [more inside]
REXML-dropin
A REXML-compatibility layer for libxml:
GroupedScope Plugin For ActiveRecord
Jack has_many :things is an introductory article for GroupedScope plugin. GroupedScope allows you to extend has_many style associations to use the foreign keys of all the group members. It maintains existing association behavior while allowing new grouped calls that can use existing association extensions and named scopes.