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 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.
Moving to Rails 2.2 - Some Headaches and Learnings
I did a write up on a recent move to Rails 2.2 from 2.1.2. Hopefully it will save someone an hour or two.
Facets Series: Hash#rekey
With the soon to be released 2.5 version of Ruby Facets. I decided to start a series of posts on all the good stuff within. It starts here.
A status update on the Ruby Benchmark Suite and the Ruby Shootout
I just published a status update on the RBS and the shootout. You can find it here.
Which Rubyists have rocked 2008?
I’m putting together a series for Ruby Inside that will profile some of the Ruby developers who’ve had a prominent effect or done a lot for the Ruby (and Rails) community in 2008. I have a few names already, but who would you nominate? I don’t want to miss anyone obvious. This post is also a good way for you to show appreciation to any Ruby developers who’ve had an effect on you in the last year. So, yeah, this is a bit of a “love in” post! :-) Thanks in advance.
Ruby and Shoes Programming Course
After the run-away success of the first Ruby and Shoes Programming Course, RubyLearning has announced the second batch starting from 13th Dec. 2008. Registrations have started.
Rails 2.2 SQL Server Adapter for 2000 & 2005
The SQL Server Adapter for rails is back for ActiveRecord 2.2 and up! We are currently passing all tests and hope to continue to do so moving forward. Includes tons of new features including unicode column support, pessimistic locking, date/time column casting, DDL transactions and more.
Notes from the Ruby Manor (part 2)
Here’s a write up of the afternoon session at the Ruby Manor, covering Neo4J, APICache, the Acts as Recommendable plugin, notes on Unobtrusive Metaprogramming, a UK Government Hack day, and Ruby 1.9. And curry (briefly).
This Old Hash
TigerOps.org is finally getting some bloggy goodness going. In classic transtyle, how about this one: “The Hash may well be the most used class in Ruby. Sure, our programs have arrays and strings galore, but they generally come and go without much ado. Hashes on the other hand get used…” Jump Here.
Authlogic 1.3.2 adds BCrypt as an encryption option
Storing nuclear launch codes in your app? If so, you will like Authlogic 1.3.2, which has added BCrypt as an encryption option. Checkout the blog post / tutorial.