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.
Fukuoka Ruby Award
The Fukuoka prefecture conducts Fukuoka Ruby Award. The winner will get 1,000,000 JPY, which is roughly 10,000 USD. It covers any software and activity mainly held this year somewhat related Ruby. We are waiting for active submissions. If you have any question contact entry@ruby-award.jp.
Mack Framework 0.8.2 Released
Mack 0.8.2 contains bundled gems, DataMapper 0.9.7 support, ActiveRecord 2.2.2 support, and a pretty awesome implementation of deferred? actions.
How to query Delicious to retrieve informations about a given url
In case that’s of any use to you, here’s how you can query Delicious if you want to retrieve informations about a specific url.
Ruby Advent Calendar for 2008
I thought of running a Ruby advent calendar for this year. I would love to have your contributions. Please contact me if you are interested..
Japanese translation of "Life On The Edge With Merb, DataMapper & RSpec"
I translated a book “Life On The Edge With Merb, DataMapper & RSpec” into Japanese. This book is for beginners of Merb, DataMapper, and RSpec. Check it out if you are Japanese Merb beginner.
Rails Tip: Raise Mass-Assignment Errors in Tests
Since I’ve started using attr_accessible for security reasons, I’ve been bitten a few times while in development. The problem is that attempts to mass-assign protected attributes fail silently, save for a note in the debug log. Here’s a quick tip that explains how to raise these failed assignments as exceptions when testing your application.
Ramaze by Example -- Parts 9 - 11
The final three parts and conclusion have been posted for a blog post series which introduces the basics of web development using Ramaze, a framework that lets you create web applications in Ruby with a minimum of code. The tutorial walks through the creation of a small but functional app from start to finish, describing many Ramaze features along the way. The latest posts cover layouts, validation and error handling, and the conclusion provides links for further learning.
Rails edge gets some engines love
Recent commits to edge rails hint at some exciting changes to plugins
A Complete Ruby Class Diagram
A diagram showing the relationship between all Ruby classes for a user-defined class. May contain one or two surprises.
ajaxful-rating
The not so well known ajaxful-rating, authored by EdgarJS, is a very easy to use plugin that will give star ratings in a snap.
Rubyconf in 31 minutes video
If you didn’t make it out to Rubyconf this year, here’s a video of Rubyconf in 31 minutes summarizing the event, with links to the full confreaks videos to see the whole talks. [more inside]
Testing Your Helpers with Autotest
So you’re trying to TATFT and you find that the huge hole is with testing your Helpers. So this is yet another guide on how to test your helpers. Only this time we will integrate Autotest
Calculating the Pearson correlation coefficient using Ruby and the GNU Scientific Library
In this article I show how to use scientific libraries in your ruby code. As an example I replace some inline C code in the acts_as_recommendable Rails plugin with a single-line call to the GNU Scientific Library using rb-gsl.
Rails Myths and Phusion Passenger
My experiences with trying Phusion Passenger.
The Closet JRubyists
A story of JRuby usage. [link]
RubyConf 2008 videos available
The RubyConf 2008 videos are available, here. These high quality videos show you both the speaker and the slides (awesome, isn’t it ?). Thanks go to the guys from Confreaks.
Ruby on Rails Training: January 20–23 in San Antonio, TX
Want to learn? Collective Idea provides world-class training in software development topics. We’ve been leading highly-praised Ruby on Rails training all over the world, and now we’re bringing it to San Antonio, Texas! Kick off the New Year on the right foot and join us downtown San Antonio January 20-23, 2009. For more information, visit Training by Collective Idea.
Ruby on Rails Bible
The Ruby on Rails Bible is available now on Amazon or at your local bookstore. The book covers Rails 2.x. The sample application may be of interest to many. It walks the reader through the development of a book shelf application, think a simplified version of shelfari.com. The application includes integration with Amazon Web Services. You can also follow the book on Twitter at: http://twitter.com/rorbible.
Try Rubinius in 20 minutes
Nothing to counter last week’s bad news than actually trying out Rubinius in 20 minutes.
Test your rails plugin against various version of rails, and versions of other dependencies
Garlic is a tool you can use within your rails plugin so you can run the plugin’s tests against a combination of different dependencies: different versions of rails (2.0.2, 2.1.2, edge, etc), and different versions of gems etc. See sample pastie showing tests of a plugin against versions of rails + rspec: http://gist.github.com/28786
Better View Testing with Elementor
A post on Pivotal Blabs about using the Elementor gem for more expressive view tests.
Bruce Tate's take on the Path to Ruby Mastery
Bruce Tate answers questions that Ruby beginners face, in this interview.
no such file to load -- sqlite3
If you’re getting “no such file” on sqlite3 after updating/installing some gem recently (could be Merb, Integrity, etc) have a look on this thread on Ruby on Rails: Talk. You have to remove some data_objects/data_mapper related .dll.