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.
Rubinius in the Rough: High Performance Ruby
James Pitt takes a simple look at Rubinius for a high performance Ruby implementation. Read here
Speed Up Textmate in Large Projects
Ever get sick of Textmate showing you the beachball of doom for 5 seconds whenever you focus on it. Fix it.
Verifying Email Templates In ActionMailer Functional Tests
assert_template is great for Rails functional tests, but there’s no equivalent for ActionMailer templates. This forces us to fall back on running a regex on the email body to make sure the right content was generated, and that can be a little fragile if the copy gets updated. In this short post, I code up a simple ActionMailer equivalent for assert_template.
Multigiri: middleware for intelligent post-processing of HTML/XML documents
No more String#gsub in Rack middlewares! Nokogiri can do this dirty job, so why don’t employ it for doing HTML/XML post-processing in middlewares? Multigiri parse your document just once and add the Nokogiri document to all the middlewares for processing in [status, headers, document].
RVM - Ruby Version Manager Screencast at teachmetocode.com
Teachmetocode.com just launched a new video about RVM that shows you how to manage your Ruby versions and gem sets and how to set up Rails 3.0 on Ruby 1.9 so you can try out the enhanced versions of each.
Ruby Summer of Code
After Google Summer of Code didn’t approve any Ruby organizations, there’s now a Ruby Summer of Code.
Ubiquo, open source Rails based custom cms development Framework
Check it here - http://www.ubiquo.me or sudo gem install ubiquo; ubiquo --mysql myapp — Every major aspect in Ubiquo is a separate plugin, so you can add functionalities as you require them for your project, and not carry additional code that you don’t need. You can also replace an Ubiquo functionality with your own plugin. Built “the Rails way” - this means that using Ubiquo won’t make you leave some of the Rails principles, like DRY, REST or Convention Over Configuration.
Embedded Probabilistic Programming in Ruby
just found on github: http://github.com/urso/rb_probdsl
ConfConnect for Scottish Ruby Conference 2010
Scottish Ruby Conference is happening in Edinburgh on 26th and 27th March,2010. ConfConnect is a small web application that gives you all the information related to talks, special events and parties. Moreover, you can create your personalized schedule, find out which sessions other people are attending,discuss and rate speakers etc.
Exploring Latest Enumerable Additions: chunk and slice_before
The article explores use cases for two Enumerable methods added just recently to Ruby, namely Enumerable#chunk and Enumerable#slice_before
Sinatra 1.0 is... OUT NOW!
Sinatra 1.0 has been released today. Install with gem install sinatra or check it out on GitHub. Congratulations to the team!
RadiantCasts move to Radiant Blog
The series of Radiant CMS screencasts presenting extensions, features or interesting techniques has moved to Radiant Blog. It continues today with episode 6, which presents two simple but useful extensions: the Custom Fields Extension and the Stereotype Extension.
Rails Coach Interview with Chad Fowler (Part 1)
I interviewed Chad Fowler, the major force behind several of the ruby conferences and author of Rails Recipes and the Passionate Programmer. We talked about how to enhance your career and how to become the best developer you can be.
Merb 1.1 "Black Hole" released!
We’ve just released Merb 1.1.0!
Radiant Config In Source Control
Quick mention of a simple feature to store config data in your source for Radiant CMS.
Implementing RPX along with Clearance in 5 minutes using RPX_now
Tutorial to implement RPX authentication along with Cleareance on Ruby on Rails in 5 minutes. Chek it out at rpx now with clearance in 5 minutes.
Untangling Evented Code with Ruby Fibers
Event driven programming does not have to be complicated. With a little help from Ruby 1.9 Fibers, and new library em-synchrony, much of the complexity is easily abstracted, which means that we can have all the benefits of event-driven IO, without any of the overhead of a thread scheduler or complicated code.
Ruby at POSSCON in the Southeast
Ruby on Rails talent at the Palmetto Open Source Conference It is no secret, there is going to be a lot of Ruby on Rails talent at the Palmetto Open Source Conference this year. This is no coincidence, the Ruby on Rails ecosystem helps define the collective focus of the invited speakers for POSSCON. Each one of the speakers, know for their contributions to the Rails community has had a broader reach in regards to web development in general, and specifically, the ecosystem in which Rails exists.
Ruby Manor 2: Manor Harder videos available
Videos of the majority of the talks from Ruby Manor 2: Manor Harder are now available for your viewing and downloading pleasure.
Install Hudson For Rails on Ubuntu, The Tricky Part
Before switching to Hudson, we used CruiseControl.rb. Compared to CruiseControl.rb, I love these features: easily kill or start a new build; test all branches or some branches in a git repository. so you can create separate ci for each of your branches easily; code coverage plugin; code metric plugin; more stable and mature. Hudson is easy to install but configuration is a little tricky, So I wrote this blog Install CI Hudson for Ruby on Ubuntu. Hope this may helpful.
Awsymandias: Easily manage complicated AWS EC2 setups
Awsymandias is a library that helps you set up and tear down complicated AWS environments. In addition to offering a clean, fluent domain model for working with instances and groups of instances it allows you to persist role-to-instance-id mappings to SimpleDB, allowing you to manage your stack from multiple different machines.
Rack::Throttle: HTTP Request Rate Limiter for Rack Applications
Rack::Throttle is a Rack middleware for limiting HTTP request rates to Rack-based Web applications. It’s public domain and is also on GitHub.
Publish your data with ERB and markdown
I will show you how to write a powerful and flexible publishing system by combining the power of ruby templates (ERB) and Markdown standard syntax in just 50 lines of code. The idea is to store your data in simple text files thanks to Markdown and use a template engine to present them in the format you want. Also, you can use the ruby power inside your markdown files for free! Check the source code for more information and examples.
WebRI, RDoc Seuss
WebRI 1.2 is now up on the RubyGems.org servers. WebRI is a smart front-end for RDoc that provides a large selection of generators/templates for your documenting pleasure. The design is super-sexy so it’s easy to create new templates if you want to contribute to the project. Big thanks to Володя Колесников for SDoc which I used as a study guide for getting my head around hacking RDoc. (It also explains the existence of the blackfish template).
Skip repetitive map.resources with Restful Catch All Route rails plugin
A light and hassle-free alternative to defining every resource/member/collection by hand. No more routing errors because a new action was not added to routes.rb Try the Restful catch all route Rails plugin.