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.
Creating your own Ascii art app
I just launched a post on how to create your own Ascii Art app using the evented architecture.
Have a customizable sidebar menu in Rails3
I just launched a post. First time writing an article about Rails.
Factory Girl's new look
Factory Girl release candidates were cut this week. There’s a great-looking new syntax and many new conveniences.
Ruby Kickstart - free course with videos, quizzes, & challenges
Ruby Kickstart, is a course with videos, quizzes, & challenges to learn Ruby. There are six sessions where we progress from the basics all the way through putting a web application on the internet. Each session has an associated video where I walk through the material for my friends (my friends and I went through RKS this summer, I recorded the sessions, they’re available on the website) Plus a FREE bonus video where I talk about recursion! Each session has an associated quiz that you can take on the website.
Forme: New form library for ruby
I just released a new HTML forms library called Forme. It has no external dependencies, a friendly API and DSL, and integrates nicely with Sinatra and Sequel.
Picking the right number as quickly as possible
Just finished a post detailing how I used the Binary search algorithm in ruby to find a specific number quickly over a range of possible values. Feel free to offer comments or suggestions to the algorithm.
Mida v0.3.0 A Microdata parser/extractor library
This release has better facilities for describing a vocabulary and finally adds Bundler support. More information is available in the release news and on the Mida project page.
My ruby adventure starts...
My ruby adventure has began… I am traveling across the USA attending ruby meetups. Check out the review of the San Francisco Ruby on Rails Group.
Building a Clone of the Watchr Gem
Following on my Ruby File IO series, this post puts some of the discussed techniques on practice by showing how to build a small clone of the continuous-testing gem Watchr
Paint: A Terminal Painter
No string extensions / 256 color support / effect support / custom shortcuts. Just another terminal colors gem ;). Tries to combine the best of term-ansicolor, rainbow and other terminal color gems with a nice syntax and great flexibility: github.com/janlelis/paint
Barney: Sharing data between processes made easy
Barney makes sharing data between processes easy and natural by providing a simple and easy-to-use DSL. I just released v0.16.0 to github and rubygems.org . It’s a big release, and the next one will be v1.0.0. The Guides and API documentation are linked through github, and should provide you with everything you need to know to begin using Barney. Please test, and let me know what you think!
AdhearsionConf 2011 Registration Open
AdhearsionConf 2011 has been announced for October 8th & 9th in San Francisco, CA. Great time to learn more about Adhearsion and meet the rest of the community. Free registration is now about at: http://www.eventbrite.com/event/1762530777.
Eventable 0.1.3 - Adds non-blocking callbacks
Eventable is the easiest way to add events to your Ruby classes. Update 0.1.3 adds threaded callbacks. This drastically improves Eventable’s performance and keeps long running or malfunctioning callbacks from stopping other callbacks or events from firing. Github: https://github.com/mikbe/eventable && RubyGems: https://rubygems.org/gems/eventable
Improve Rails Asset Caching with MD5 and virtual folders
/foo.jpg -> /asset-v123af/foo.jpg (or /foo.jpg?123af) - MD5 only changes on content-change and is identical on all servers. Folders are CDN/proxy/… cacheable and transparent via nginx/apache rewrite rule. For Rails 2 + 3.0: virtual asset paths
Quick Win: Get Your Conditions in Order
It’s so simple… yet often overlooked. Put your conditional expressions in the right order and get an immediate performance bump. More in our latest blog post.
GemAWeek Episode 4 - Navigasmic
Just posted the fourth episode of GemAWeek. This week I get all navigasmic by semantically creating list-based navigation.
Invite Facebook Friends using Omniauth and FB JS SDK [Screencast]
I just posted a screencast on how to Invite Facebook Friends with Omniauth and the Facebook JS SDK. It builds on Ryan Bates’ railscast Simple OmniAuth.
Using the Google Authenticator app with Rails
Following on from last weeks post on Two-factor Authentication with Rails this new post adds support for the Google Authenticator app for Android, iPhone and Blackberry.
Building Structured API Clients with API Smith
Darcy Laycock of the Frontier Group offers an introduction to API Smith, a simple way to quickly build structured API clients on top of HTTP Party and Hashie.
Fighting Software Erosion with Explicit Contracts (The New Heroku, 4/4)
An exploration of software erosion (aka “bit rot”) in Ruby web apps, and how explicit contracts separate app from infrastructure and provide resistance to erosion over the long term. Part of a four-part series “The New Heroku.”
jQuery tip: sanitize input fields
Short, easy and straight to the point. Sanitize input fields with jQuery