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.
BackgrounDRb - 1.0.4 released
An updated version of BackgrounDRb rails plugin has been released, which contains changes for fault tolerant clustering of BackgrounDRb servers, persistent job queue and tons of fixes for stability.
Faster IO for Ruby with Postgres
Care for up to 40% speed up on database IO? Here is a guide and a library to help you exploit PostgreSQL’s non-blocking API from Ruby. And as a bonus, you get to develop in the normal blocking style.
Rails TakeFive with Jacques Crocker
FiveRuns has posted this week’s Rails TakeFive interview with Jacques Crocker of RailsJedi.com.
New release of FiveRuns TuneUp
FiveRuns has released a new version of its TuneUp Rails application profiling developer panel and service. Now, you no longer have to register to start profiling your Rails application. Registration is only required if you want to publish your run to the TuneUp service and collaborate with others. Enjoy!
Testing is overrated?
Is developer testing overrated? I think developers focus on it to the detriment of other things that improve code quality. Read my post and let me know what you think so I can improve my RubyFringe talk.
Useful flash messages in Rails
How to create useful flash messages in Rails that direct the user to an appropriate action, without polluting your controller with view logic.
Writing a compiler in Ruby part 10: Mangling text
In the 10th part of my series on writing a compiler in Ruby I use the language to bootstrap a simple “parser” (and I use the term VERY loosely) for test purposes that will take a Lisp-like syntax and turn it into a tree of Ruby arrays to compile.
New FiveRuns Contest - Win tickets to RailsConf Europe!
FiveRuns has launched a new contest. We’re giving away tickets for 2 to RailsConf Europe, Sept 2-4 in Berlin. Details here. Try FiveRuns TuneUp to profile the performance of your Rails app and submit a run. Winner will be drawn from all runs submitted between today and August 8. Good luck!
rubyjs_on_rails plugin: ARAX w/out silverlight
I put out a rails plugin to make rubyjs super easy to use in a rails app and let you run ruby in yer browser. Tutorial is here.
Project Website
One of the frustrations of trying to learn any programming tool is the lack of well-described real-world examples of how to use the tool in practice. Although open source tools make the underpinnings of successful software more explicit, documentation that combines a real example with a description and rationale of the choices made is still rare. And so: Project Website, an attempt to provide such an example on a small, real-world site. Check out Part Zero and Part One
Introducing DataFabric
FiveRuns has released a database sharding library for ActiveRecord that we call DataFabric. Details here or on Github.
Generic + Smart - link_to_s link_to_edit link_to_destroy
Generic + Smart - link_to_s link_to_edit link_to_destroy
before:
(movie.online? or movie.owner_id==current_user.id) ?
link_to(movie,movie) : ''
(movie.owner_id==current_user.id) ?
link_to('edit',movie) : '' Read more
Ruby support for XQuery
Zorba is a general purpose XQuery processor implementing in C++ the W3C family of specifications. The latest release provides a Ruby language binding. You can find a use case of the Ruby API in the documentation.
Developing iPhone applications using Ruby on Rails
Part 2 of the article Developing iPhone applications using Ruby on Rails is available. This article discusses the rails_iui plugin.
6 Optimization Tips for Ruby MRI
MRI is slow, we all know it, but knowing the internals can help you optimize.
5 Resources for Getting Up to Speed on Rails 2.1
Rails 2.1 has been out for a little over a month now, and if you haven’t yet had a chance to get up to speed on its new moves, spend an hour today with any one of these five resources and you’ll be ready to rock in no time. Now get crackin’. There will be a quiz.
SlightlyCoded: Using Capistrano With Phusion Passenger
SlightlyCoded : Using Capistrano With Phusion Passenger
Introducing CampTweet - a Twitter to Campfire update polling daemon
FiveRuns’ Brian Dainton has introduced CampTweet, a simple daemon that polls for updated Twitter statuses, Summize search results, and RSS/Atom feed items and posts them to a Campfire room. If your team is using Campfire and Twitter - check it out!
Mod Rails hosting two months on…
Media72 hosting talk about their switch to mod rails from FastCGI and the benefits it has bought.
Stop Exception Notifications With The ZombieShotgun
The ZombieShotgun module is stoopid code with little practical use if you can edit your own apache conf file… but fun none the less.
On the Path to Camping 2.0
A little post on the development of Camping 2.0
Symbol#to_proc Alternative
A blog entry on an Alternative to Symbol#to_proc.