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.
An Interview with Ryan Bates of Railscast fame
Some interesting tips and advise to Ruby beginners from Ryan Bates of Railscast fame, in this interview at RubyLearning.
MultiRuby The MacPorts Way. Testing Your Rails Apps With Ruby 1.9
Ruby 1.9.1, the stable release, is just around the corner and if your like me, maybe you want to start playing around with it and perhaps test a few projects using 1.9 with edge rails 2.3. If so, and your on a Mac, then perhaps this installation method might appeal to you.
Blazing Fast Speeds with Sinatra and Memcached
Sinatra is a wonderful small Ruby web framework built on top of the Rack interface. Sinatra is very fast out of the box making it perfect for light weight tasks. Sinatra does not come with support for memcached out of the box but adding support for memcached is fairly straightforward.
Craft the perfect gem with Jeweler
Jeweler is a tool for managing and automating the task of distributing RubyGems on GitHub. It’s been developed over the course of the past few months, but hadn’t been officially announced… until now. Read all about it, Craft the perfect gem with Jeweler
The Difference Between Ruby Symbols and Strings
Learn about what Symbols really are, how flexible they can be and how they make your program run faster with this tutorial.
Locked Envelope: bringing encryption to the masses
Locked Envelope is a service written in Ruby and Rails and allows users to send encrypted messages and attachments without any downloads. Backed by S3, running on Passenger.
I18n support for ActionMailer
Just released a small plugin that allows the usage of I18n in ActionMailer: i18n_action_mailer at github
Lack of consistency on ActionView tag helpers
When you try to anticipate what will be the id generated by an input HTML markup generated by a radio button, so it can be referenced by a label tag, you may have some surprises. This article elaborates on what may be the problem.
Mack Framework 0.8.3 Released, featuring 1.9 support.
The alternative web framework has been upgraded to 0.8.3. Amongst the changes are effect helpers for jQuery and Prototype/Scriptaculous and Ruby 1.9 support.
Building gems the clean way.
GM is a new tool for building your gems. It is simple, extendible, and clean. Do you find newgem to complex and gemify to simple then this is for you.
Web app theme
Just a simple layout for your web applications!
Three tools for easy static content generation!
I would like to share this post about 3 mini frameworks for generating static content using Ruby.
SAX Machine - easy SAX parsing with Nokogiri
I’ve written a library for SAX parsing with Nokogiri.
Scotland on Rails - 150 quid, Dave Thomas, Marcel Molina, Jim Weirich, Yehuda Katz, Scott Chacon
Scotland on Rails Conference 2009 is open for registration. 20+ speakers, 2 days, 150 quid until Feb 9th when it rises to 175. Breakfast and lunch (and shirt :-) included. Last years keynote, Michael Koziarski, called SoR the best small conference he’d ever attended. Come and see what the fuss is all about!
Ruby-Processing Gets all Gemmed up and Pretty
Ruby-Processing 1.0.1 has just debuted at the ball. She’s now a real Ruby Gem - just sudo gem install ruby-processing .. Internally, so-to-speak, she’s been rewired quite a bit, and has grown to be a good bit more flexible, letting you store your sketches wherever you like, with better cross-platform application exporting, and more thorough Processing API compatibility. The main way to talk to her is the rp5 command, so say: rp5 --help .. to get started.
Using Igvita's decision tree gem to predict paying users in Rails
Ilya Grigorik wrote a great post a while ago about how to use decision trees in ruby. Here’s another quick post on how to use them to find out what factors are most important in whether or not users pay in a Rails app. [more inside]
One Line Tests Without the Smells
Zebra is an extension to context & matchy for expressing tests in one line. Using ruby2ruby, the tests are named with the code they contain (i.e. “test: expect @post.title.to == “something”).
Introducing Wt::Ruby, a Qt-like api for developing web applications
Richard Dale blogs about his project, Wt::Ruby, which is a widget-style API for writing web apps, vaguely like GWT. Wt::Ruby is made up of bindings to the Wt toolkit.
Ruby Manor Videos
For those that missed it, or just want a recap. Some of the Ruby Manor videos are now available for download
Why Ruby (and Rails) is awesome
Graeme Mathieson’s reasons why.
Noomii.com: The Buddy System for your Life
Noomii.com is a website that helps any two people achieve their life goals using a process called pair coaching. Pair coaching is a type of life coaching, which normally involves paying a professional mentor to help with life goals, achievement, etc. The site is built using Ruby on Rails and in this interview, RubyLearning talks to Kurt Shuster the CEO and Co-Founder of Noomii.com.
scRUBYt! Get Plugins!
A look at the biggest change so far in the upcoming gem release (currently available in the skimr branch on github though) of scRUBYt! Now with the the new plugin architecture for output, you can build a web spider/scraper and export the results to any format you want. And it’s not much more difficult that specifying before filters on a controller in Rails. I’m hoping we can shortly release a similar scheme for the actual browsing engine so people can substitute out Mechanize for whatever alternatives they might like (such as Firefox for AJAX scraping like in the current release).
Backup Your WordPress Blog to Amazon S3 using Ruby
Use the wordpress-s3-backup Ruby Rake script to backup your WordPress blog – both database and site – to Amazon S3.
Bridging MRI, JRuby & Rubinius with FFI
A hands-on example of using the new FFI gem developed by Wayne Meissner to interface with native (C) extensions in a uniform way for Ruby MRI, JRuby and Rubinius.
LaterDude - Calendar plugin for Rails with i18n support
If you need a calendar helper plugin with i18n support, you might want to check out LaterDude. LaterDude is heavily inspired by Jeremy Voorhis’/Geoffrey Grosenbach’s popular calendar_helper plugin and can - with a few small adjustments - be used as a drop-in replacement.