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.
Reflections on the Ruby shootout
An important update</a> about The Great Ruby Shootout.
Dynamic, search-based RSS feeds in Rails
A quick tutorial, in which I show how to create dynamic RSS feeds.
Thinking out of the Box with Enumerable#inject
Some interesting code snippets using Enumerable#inject featured at the Ruby advent blog.
Ruby on Rails LDAP authentication using HTTP Basic Auth
The following blog posting summarizes a simple technique for LDAP Authentication using HTTP Basic Auth. Read it
A Case Against Mocking & Stubbing
Why you should not mock and stub your models.IMO
Add a powerful AJAX Table to your Rails Application in 5 minutes
Full tutorial: adding a powerful jQuery table to your Rails application step by step, from scratch to viewing the finished app in your browser. Includes full source code.
No More Whitespace Worries — HAML for Emails
Tired of all the erb whitespace and those <%-end-%> madness? Switch to HAML for emails, remove all unwanted whitespace.
Save All Empty Strings as NIL
Save All Empty Strings as NIL WHERE field IS NULL OR field = ‘’ no more… Rails plugin that converts all empty strings to nil when saving. Avoids lots of query/performance/syntax problems. Includes migration to clean your existing records.
Ubiquity-RDoc, better rdoc searching
See how a command of Ubiquity Firefox extension could improve the searching on any type of rdoc published on the web: http://projects.talleye.com/ubiquity-rdoc
Ruby & Rails Libraries for Amazon Web Services
On Rails Inside, Mike Gunderloy has written a summary of libraries and plugins to access Amazon Web Services (such as S3, Simple Queue Service, EC2 and DevPay) from Ruby and Rails applications.
Registration Opens for Merb Training, January 2009 in Phoenix, AZ
Yehuda Katz and Matt Aimonetti today announced the dates for the first Merb Training session – January 19-21 in Phoenix, AZ. Visit MerbClass.com for details and registration ($200 Early-bird discount available until 12/31!) :D
Rails app on Facebook Connect
Inkling, a prediction market platform on Rails, launched integration with Facebook Connect. This is one of the first RoR apps to do Facebook Connect, I think. You can publish any trades or comments you make at the Inkling public site. We sent some details of our implementation to Mike Mangino to help in getting something added to Facebooker to help in implementing Connect. So watch that space if your looking for any help, or feel free to leave comments on our blog post about it and we’ll try to answer questions when and where we can. I must admit putting this together has definitely gotten me more addicted to using Facebook, which I’m sure was part of Facebook’s plan to take over the world. So handle with caution. :)
proxy gem/plugin 1.2.1 is out (thanks for all of your feedback)
http://github.com/shuber/proxy - A gem/plugin that allows rails applications to dynamically respond to proxied requests by detecting forwarded host/uri headers and setting the session domain, default host, and relative url root
The Great Ruby Shootout (December 2008)
The long awaited Ruby virtual machine shootout is here. In this report I’ve compared the performances of several Ruby implementations against a set of synthetic benchmarks. The implementations that I tested were Ruby 1.8 (aka MRI), Ruby 1.9 (aka Yarv), Ruby Enterprise Edition (aka REE), JRuby 1.1.6RC1, Rubinius, MagLev, MacRuby 0.3 and IronRuby.
How to write a simple operator precedence parser in Ruby
A step by step walk through of a simple operator precedence parser in Ruby.
Web Spidering and Data Extraction with scRUBYt!
Another web scraping tutorial. The first part in a look at the upcoming release of the new improved scRUBYt! library. Starting off is a bit of a re-cap, showing you the basic demo of creating a web spider to grab results from google.
OS X Passenger preference pane v1.2
We recently released version 1.2 of the Passenger preference pane for OS X - now includes Rack support!
Comments on common Merb criticisms
I have been noticing an increase of blog posts regarding Merb ever since it hit 1.0. Most of them are positive, some mention a number of gripes. I thought I would voice my opinion about the issues come up the most, such as ORM agnosticism and the Merb dependencies situation.
Scraping Pages Made Easy with Ruby and Nokogiri
Take a look at how to scrape HTML pages using Ruby, OpenURI and Nokogiri at http://www.robertsosinski.com/2008/12/08/scraping-pages-made-easy-with-ruby-and-nokogiri/.
Rails Prescriptions For Testing
Noel Rappin, author of Professional Ruby on Rails, is announcing Rails Test Prescriptions: Keeping your application healthy, a book available in January 2009 in DRM-free PDF format. What would make a Rails Testing book worth your time and money? Let me know at railsprescriptions@gmail.com or at Get Satsifaction. See the announcement and follow the blog.
What i liked most about rails 2.2
Well, finally it’s there, many important improvements were added to rails 2.2, and yet new things are on the way, you can check this blog post to check what’s new, while i’m gonna list here what i really liked about the new version of rails 2.2 , here
Introduction to Merb - A new course
With each passing day, Merb (the Ruby web framework for the enterprise) is gaining in popularity. To satisfy people’s hunger for ‘Merb’ knowledge, RubyLearning has just announced a new online course “Introduction to Merb” that starts from 10th Jan. 2009. Registrations are now open.
Ruby Introspection: Part 2
I wanted to start blogging on ruby reflection api, but i just realized that I have to give a second part of my previous article on Ruby introspection.
HookR 1.0.0 released
HookR is a library for adding publish/subscribe callback “hooks” to your objects. It supports both Rails-style class-level event handlers and Observer-style subscriber notifications.