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.
Rack-ified Rails
Ezra Zygmuntowicz (of Engine Yard and Merb) is working on a fork of Rails that replaces the Rails CGI wrapping on incoming requests with a Rack adapter. As a side bonus, the fork uses a smaller global lock, excluding routing dispatch which should be thread safe. [more inside]
Logic based CAPTCHA for Rails
BrainBuster is a logic based CAPTCHA for use in Rails applications. Rather than give users a complex image to read, they get asked a question instead.
Building a Social Network Site in Rails
An article covering useful plugins and resources for building a social network site in Rails. About twelve plugins are covered.
Yahoo! Web Services in Ruby
Yahoo! Web Services are a set of online services that can be used by developers when creating “mashups”. These services are like a gateway to the huge amount of available data at Yahoo! José Carlos Monteiro looks at how to use these services with Ruby.
John Lam on IronRuby
A video update on Iron Ruby from John Lam recorded by David Laribee.
Instructions how to setup Ruby with Oracle client on Mac
Oracle just released new Oracle database client for Intel Mac and here are instructions how to setup Ruby with Oracle client on Mac.
Basic SQL join/index tutorial for Rails developers
A little article on the basics of SQL joins and indexes that may help you out if you’re not familiar with some slightly advanced SQL/DBA stuff yet.
Elastic Rails Servers now with Phusion Passenger (mod_rails)
Phusion Passenger (mod_rails) now available for inclusion in Rails Servers built via Elastic Server On-Demand. Build, deploy, and launch to Amazon’s EC2 in one click!
RubyLearning Interviews FiveRuns Developers
RubyLearning.com has posted interviews with two FiveRuns developers where they share their thought on Ruby. Check the out here: Adam Keys, Bruce Williams
Railers Need To Stop Not Caring About The Database
Interesting post over at the RubyFleebie blog on why Railers Need To Stop Not Caring About The Database
rails page cache with subdomain
In Chinese: How to use Rails page cache with subdomain cache page to RAILS_ROOT/public/subdomain/path .. http://posts.rubyflow.com/items/63 would cache to RAILS_ROOT/public/posts/items/63
5 Simple Ways To Keep Up With The Rails Community
I’ve written a post on 5 Simple Ways To Keep Up With The Rails Community
New edition of Agile Web Development with Rails in beta
Dave Thomas, of the Pragmatic Programmers, has announced the availability of the beta of Agile Web Development with Rails, Third Edition. It’s significant because it finally brings the book up to Rails 2.x standards. The beta is available as a PDF for $24.
A Look at Ruby Debugger Options
A Look at Ruby Debuggers by Werner Schuster takes a look at the various debugger options available to Ruby developers (options for MRI, JRuby, Rubinius and Iron Ruby are included).
How to use ActiveRecord fixtures with Namespaced::Models
It’s not obvious how to use ActiveRecord fixture helpers with Namespaced::Models, so here’s the simplest possible way - just a one liner.
Ruby XML Parsing Benchmarks
I recently benchmarked Hpricot and REXML for XML parsing and found REXML much faster. (Update: Actually, turns out Hpricot is faster.)
Ruby's achilles heel
Most folks point to Ruby’s MRI implementation as Ruby’s greatest weakness. Luckily this is fixable and fixes are in the works. The bad news is that the true weakness about the language will be much harder to solve. Ruby’s docs are horrid, and in this post I provide a small but telling (and scary) example. As a Ruby fan, I fear the state of the documentation the most.
Fail Early
It is well-known that the Ruby-based MySQL driver included with Rails is not suitable for use in production. We can write a short initializer that detects this condition and aborts the application start if the production server is misconfigured.
Javascript in Ruby & Ruby in Javascript
Johnson connects Ruby with Spidermonkey. Check out the blog post.
Recurring billing starter kit
If you’ve been inspired by DHH’s Startup School presentation to charge for your software, check out the just-released SaaS Rails Kit, which will give you a head start on building a subscription-based app. Don’t waste your time on writing mundane recurring billing and account management code.
Up to date RubyCocoa / XCode Tutorial
Bowled Over By RubyCocoa is an up to date, well illustrated tutorial covering how to develop an OS X application (with specs!) using RubyCocoa and XCode.
RubyFlow Now On Twitter - @rubyflow
Are you a Twitter user? If so, check out RubyFlow on Twitter and follow.
Screencast for video upload/transcode/push to s3 in under 100 lines.
A screencast for a rails app that uploads a video, transcodes to flash, saves on s3, and http streams it back. Uses ActiveMQ, ActiveMessaging, and RVideo.
Active Shipping released
James MacAulay released Active Shipping, another extraction from Shopify
Rails OpenID Server Application
Masquerade is a Rails powered OpenID server application, made available under the MIT license. Developer Dennis Blöte has written a blog post with more information.