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.
Why we should drop 1.8 support in Rails 3.
Here’s why I think we should only support Ruby 1.9 with the Rails 3.0 release. http://www.metabates.com/2010/02/08/ruby-1-9-rails-3-0/
RubyInstaller: Steps getting mysql gem to build its native extensions
I just wrote a small tutorial on how to install mysql gem when using RubyInstaller.
Doing the Undoable
Nearly a week ago, Matt Aimonetti wrote an example on using MacRuby and NSUndoManager to implement undo functionality. This is a byproduct: an Undoable module.
Riding Ruby on Rails 3 with Bundler
I just posted Riding Ruby on Rails 3: Bundler which shows how to manage your gems with Rails 3.
nanoc3 Blog Starter Kit for Rubyists
The blog compiles into pure HTML. No runtime needed on your host. Ultra-fast and light. No database. No headaches. Host anywhere. A live example is hosted on htp://nanoc3-blog.mgutz.com. For more: About nanoc3_blog and Getting started
Fake it till you make it! - Faker Rake Task
I just launched a ‘fake out’ rake task. Using the very excellent Faker gem by Benjamin Curtis this task can be configured to populate your models with random amounts of fake information. This can a be a real time-saver for load testing, preparing demos/screencasts, or just filling up your pages with realistic data so you can get to work on your views. Here’s the blog post and the script as a Gist on GitHub
How to use Rails templates in Wordpress themes
Step-by-step guide so you can call “rake blog_theme:update” to update your WordPress blog theme with a Rails layout. View guide
Wrap your SQL head around Riak's Map-Reduce
My second post about Riak explains how to convert your SQL queries into Map-Reduce jobs.
Sikwamic: Simple Key-Value With Comet
After all the feedbacks I got on Loopchat, I decided to launch Sikwamic, a simple rackware, that enables you to use REDIS over HTTP and with COMET style LONG POLLING. enjoy.
Introducing SafariRSS - a MacRuby & HotCocoa App for Safari RSS Integration
Acts as the Default RSS reader for Safari and redirects to Google Reader by default. Easily modified to redirect to another URL or launch another app - Read More Here
Why Riak should power your next Rails app
Just posted on my blog 7 reasons why Riak is awesome, and why it’s a good fit for your next Ruby web application.
DNote 1.1
Just released DNote v1.1. DNote is a command-line tool for scanning Ruby source for developer’s notes and laying them out in the format of your choice. This release adds a few extra formats and improves upon the underlying implementation.
Updating Your Shell Aliases/Functions For Rails3
Well since I now have a rails 3 application in production and more on the way, I starting updating my shell aliases to a new ZSH function that can ‘script/console’ or ‘rails console’ depending on my apps setup.
Ruby Whois 1.0 is here!
Whois is an intelligent pure Ruby WHOIS client and parser. The first Whois major release is now available. Whois 1.0 includes Client, Answer, Parsers and CLI interface. Read More.
Writing a Tree Provider in Redcar
Here’s a blog post about how to implement a a tree view in Redcar, the Ruby text editor.
Rails 2.3.5, JQuery, Unobtrusive JS and Graceful Degradation
In a trifecta (tutorial, example app and live sample) of geek bliss I’ve married jQuery and Rails 2.3.5 in a way that is both unobtrusive and that degrades gracefully. While I’m sure we’re all looking forward to seeing how UJS with jQuery in Rails looks when Rails 3.0 comes out of beta, the techniques described in my post can be used now in Rails 2.3 apps.
Massaging Rails 3 Beta on Windows
Rails 3 Beta Requires a little extra help to get going on Windows.
How to upgrade plugins to Rails 3.0
Step by step tutorial to build a Rails plugin with Rails 2.x and Rails 3.0 compatibility in addition to a compilation of links about the new API for plugins. Read more.
"xxx" Gem: Watch porn with Ruby
Some of my Polish colleagues have done something worth mentioning. Well, maybe not, but it’s Friday evening damnit! Watch porn with help of your ruby scripts or even irb with xxx gem!
RailsInside.com Is Now Written By You!
I’ve decided to open up RailsInside.com to public submissions. If you want some publicity or want to promote your plugin/library/whatever, you can now write a post for Rails Inside and I’ll put it up. Anything that’s not very poorly written or total nonsense will probably be accepted!
rails3info.com launched !
Visit rails3info.com and find out all you need to know about the new Ruby on Rails 3! Tutorials, presentations and articles in one convenient place.
Chapters 1,2,3 of "Ruby Best Practices"
Over on the RBP blog, I’ve been releasing chapters of “Ruby Best Practices”. See the announcement for Chapter 1, and for Chapters 2-3, and download some free PDFS!
Ruby on Rails: Code Metrics Identify Weaknesses, Strengthen Code
As time goes on, many Rails teams find that the rate at which they can add or improve features (known as the team’s velocity) is significantly reduced. To address this problem, teams should adopt practices that allow them to identify risky and high-maintenance code and refactor the code to improve it.