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 Coach #15: Pair Programming
There is a new episode of the Rails Coach Podcast available. I discuss the pro’s, con’s, and necessities of pair programming.
Git Repository Hosting via SSH
I just wrote a blog post announcing a little project I’ve been using for a while now. If you’ve got a shared hosting server or just want to share repos under one SSH shell account (something like Gitosis) then checkout my Ruby solution.
Sneak preview of our support for Rake
At Mike CI we offer a low-cost, hosted continuous integration service. Here’s a short blog previewing our imminent support for Rake, Rails and other Ruby-based projects.
Build if for yourself
Insight into going from a ruby script to a rails website and how to gauge features you want to add.
LRUG Podcast Episode 1
The London Ruby User Group (LRUG) just released their first podcast - an interview with Corey Haines and Chris Parsons (who give talks at the March LRUG meeting) about Software Craftsmanship, what it means to Rubyists and how to continuously improve in your craft.
Nominate this year's Ruby Hero
Nominate the Ruby Hero for 2010 here. Who have you nominated?
Prettier MiniTest for Ruby 1.9
Making minitest look a little nicer - read here.
Terminus: control your browser from the command line
I’ve just published an alpha release of Terminus after hacking on it for an afternoon. It lets you script browsers from the command line, and hopefully will turn into something that makes integration testing easier.
handy rack-rewrite rules
I started noticing in Google Analytics that some pages were being listed twice, one with a trailing slash, and one without; bad for SEO and not helpful for page tracking. Have a read of my post on how I fixed this, and share a rewrite rule or two with everyone else.
Celebrate MLB Opening Day Ruby Style...
In my latest blog post, It’s Baseball Season, I describe two baseball projects in Ruby. One is an API for working with live MLB statistics, Gameday API, and the other is a Rails app that lets you view live boxscores and play-by-play data for any MLB game, Baseball Tracker.
Rails Code Stats gem
A short writeup on a gem that provides an improved stats rake task for your rails 3 app. Rails Code Stats gem
Ruby Access Control – Are Private And Protected Methods Only A Guideline?
The concept of private, protected and public methods in Ruby is somewhat different than it is in languages like Java, it’s all about which object is the receiver of a particular method call. Let’s take a closer look at how access control works in Ruby.
Use Ruby and Watir to scrape the web
This post on the Layered Thoughts blog outlines how to use Ruby and Watir to visually scrape web pages.
Liquid Layouts and Linear Algebra
Just released liquidity, a simple gem to simplify the process of creating column-sorted liquid layouts.
Should I override to_json in my model?
In the “old days”, you’d override to_json in your model class to provide a custom JSON representation. In Rails 3, there’s a better way. And it’s available in 2.3.3 as well! Meet as_json, and why you should never override to_json ever again.
I've been benchmarking Ruby 1.8.7, 1.9.1, and JRuby 1.4.0
I have been writing this up on rubyplanet.net [more inside]
phat, a new type of Rails app
phat uses Ruby 1.9 and EventMachine to scale better than a typical Rails application. My blog post explains how it works.
css sprite best practices
I have written a post css sprite best practices. Following the practices, you will be saved from dull css sprite job. It also tells you how to automatically do the css sprite job by using my css_sprite gem.
on .gemspecs
Yesterday I wrote “.gitignore your *.gemspec”, in which I suggest to stop putting .gemspecs in gem repositories. [more inside]
Screencast review: Using Amazon S3 in Rails App
I just reviewed Using Amazon S3 in Rails App from Codeulate Screencasts.
RubyFlow and Ruby Inside optimized for the iPad
Caught up in the iPad fever today? Ruby Inside and RubyFlow are now optimized for the iPad! No zooming necessary — it’s a slick full-screen experience. (Screenshot of how they look.) RubyFlow’s iPhone experience has also been marginally improved.
nanoc 3.1 released
I’ve just released nanoc 3.1, which makes nanoc a bit easier to use, and adds support for binary assets. Filters that rescale and rotate images or even convert movies to OGG for use with HTML5 video are now possible! nanoc is a tool that runs on your local computer and compiles Markdown, Textile, Haml, etc. documents into static web pages, ready for uploading to any web host. See the nanoc web site for details.
Awesome Print gem released
Pretty print your Ruby objects with style – in full color and with proper indentation. Rails ActiveRecord objects are supported via included mixin. Check out http://github.com/michaeldv/awesome_print
RakeServer lets you invoke rake tasks quickly in production
RakeServer runs rake tasks using a client-server architecture, allowing the server to hold your environment in memory and fire off tasks quickly. Here’s a blog post discussing motivations and use cases.
Commenting in Radiant CMS from a gem
I have a quick post about the radiant comments extension as a gem. Read a bit about it and some more details in the comments.