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.
Rails training at Rockefeller Center, NYC
Using Umbrella Today? as a case study, thoughtbot will provide Advanced Rails training at Rockefeller Center, NYC on Friday, December 5th. Topics covered include Rails best practice patterns, refactoring with confidence, Test Driven Development with ease, and contributing back to the community with plugins and gems.
Don't let errors drive you hopping-mad
How to stop errors in your rails app driving you hopping-mad. A blog post about how Hoptoad help keep us sane around the launch of Swirrl.
Asynchronous HTTP Cache Validations
Stale caches causing inconsistent user experience and response times? Yahoo developers proposed an extension (stale-while-revalidate) to address this problem. We implement a proof of concept Ruby caching server for this pattern.
Hampton's Ruby Survey Results Are In!
The results of Hampton Catlin’s Ruby Survey are in. 1,224 people responded. 74% have read the Pickaxe. 40% are atheist.
Shouldn't you be testing your helpers?
Shouldn’t you be testing your helpers? It’s not very well known, but Rails provides ActionView::TestCase for doing just that.
Ruby & Future Man
My partners and I have made an amusing and hopefully informative video on Ruby and the vast support it has seen in 2008. We hope you enjoy it: http://www.youtube.com/watch?v=_2VXUQwGHZg
Little Known Ways to Ruby Mastery by Dr Nic Williams
The Path to Ruby Mastery Interview Series by Ruby Masters, provides guidance to and answers questions confronting Ruby beginners from across the globe. Today, Dr Nic Williams reveals his secrets!
Omaha Ruby on Rails User Group; Meeting October 8th
The Omaha Ruby on Rails User Group will meet again this Wednesday, Oct 8th. We will have special guest Ryan Bates of Railscasts.com via an iChat audio session there to answer questions regarding Rails development and building an online community.
Mack Framework User's Guide
The Mack Web Application Framework now has a comprehensive, and ever growing, User Guide to help developer’s make use of Mack’s rich feature set. The User Guide can be found at: http://www.mackery.com/
Mack Framework 0.8.0 Released
The Mack Framework has just reached version 0.8.0. The release includes substantial feature improvements to the router, Configatron support, a new asset management system, better error handling, reporting, and logging. Plus, much more!
rails proxy plugin
rails proxy plugin: http://github.com/shuber/proxy: A rails plugin that allows applications to dynamically respond to proxied requests by detecting forwarded host/uri headers and setting the session domain, default host, and relative url root. The plugin adds this functionality to calls to url_for, named route helpers, and view url helpers while still allowing you to specifically set the :host and :only_path options to override this behavior.
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]
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