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.
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:
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)
- 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.
Thinking About Switching to jQuery?
You should :-) so here are a few links to get you started - basic idea, Prototype vs jQuery, tutorials etc.
Fitting curves to data using Ruby and the GNU Scientific Library
Producing graphs, fitting curves and analysing data using a combination of Ruby, the GNU Scientific Library and Gnuplot.
CSV Mapper - Simple CSV to Ruby Importing
CSV Importer gem is intended to simplify the common steps involved with importing CSV files to a usable form in Ruby. I just released this today and would appreciate any feedback.
Ruby Enterprise Edition 20081205 released
This release includes many enhancements, such as proper support for OS X, Solaris and 64-bit, as well as more garbage collector enhancements. See the full announcement.
Capistrano Pushr smarter and with HTTP-Auth, Thin, more config
Tiny Sinatra application to deploy your applications with Capistrano by running Github post-receive hooks just got better with support for HTTP Basic Auth, cap task configuration, smarter deployment strategy and Thin backend. Read the summary of changes or grab the source code at Github.
Phusion Passenger 2.0.5 released
Important bugs have been fixed. See the Phusion blog for the announcement.
Ruby on Rails Hosting Providers
I’ve written a quick write-up on my experience with the various rails hosting providers I’ve used in the past, both managed and unmanaged. Please feel free to add your own experiences in the comments.
Logging your Rails model with a custom log
Sometimes it can be handy to keep track what a model is doing in a separate log. Here’s an easy way to do it.