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.
ActiveRecord to Facebook's Open Graph objects with acts_as_opengraph
I just launched acts_as_opengraph, an ActiveRecord extension that turns your models into Facebook’s Open Graph objects.
How to send email asynchronously using Devise and Rails3
I just wrote a post about how to send email asynchronously using Devise and Rails3 and delayed_job.
Ruby Best Practices Blog comes back to life, sort of.
While we don’t have immediate plans for posting genuinely new content to the RBP blog, we’ve decided to gradually release all of my newsletter articles from the now-discontinued Practicing Ruby newsletter. The first issue has already been posted, and new ones will follow every Tuesday and Thursday until we reach Issue #30. Enjoy!
Interview with Santiago Pastorino
Interview with Santiago Pastorino - at LessCode.se
Fun with ruby arrays, hashes and benchmarking
My friend always jokes about waiting for a late post from me on subjects that come up from the day. I had one of this discussions today about making a hash from arrays that turned into a learning exercise that you can read about here
Ruby AMQP Benchmarks
AMQ Protocol gem is 4.875x faster, and it needs 5.417 less objects than current AMQP encoder/decoder in the AMQP gem, here are some benchmarks I wrote (nice graphs included :) ). AMQ Protocol gem will be integrated into the next AMQP gem release, so everyone shall benefit from this! Read more
capistrano_winrm version 1.0.0 released
The capistrano_winrm extension just reached version 1. It allows for finer-grained connections to Windows servers as well as Kerberos authentication and encryption to remote boxes on an Active Directory domain. More info here.
Sinatra 1.2 released
We are happy to announce a new Sinatra release - Sinatra 1.2.0. More infos can be found here.
Sinatra 1.2.0 Released
Konstantin Haase has just announced the release of Sinatra 1.2.0. It now supports the Slim Template Engine, inline Markaby, conditional filters, named captures, and more. Congrats to the whole Sinatra team.
Undestand how Cognitive Load can impact your code
Undestand how Cognitive Load can impact your code.
Reloading Factory Girl Factories in the Rails 3 Console
Aaron’s post on Reloading Factory Girl Factories in the Rails 3 Console
Introducing Tabulous: Tabs in Rails
I just released a gem that makes it very easy for you to add tabs in Rails. Enjoy!
Phusion Unveils 'Union Station': A Webapp Monitoring Tool
Phusion (the folks behind Passenger) have unveiled their latest creation - a webapp performance monitoring and behavior analysis service called Union Station. It’s currently free during the beta phase (though only the first 1000 apps will be accepted) but will eventually be a paid service.
Capybara (and Selenium) with RSpec & Rails
A quick tutorial on how to get started with Capybara in an RSpec 2 + Rails 3 application.
Cinch 1.1.2 released
We have just released version 1.1.2 of Cinch, the IRC bot building framework. The 1.1.2 release fixes a bunch of small bugs. Check out the project on GitHub
Testing Rails 3 generators with RSpec
I just wrote an article showing how to test generators with RSpec the same way you can do with test unit. It’s a thin wrapper around Rails::Generators::TestCase and it’s released as a gem called generator_spec.
Skinny controllers are not enough
An article comparing Inherited Resources and Decent Exposure to DRY your controllers.
ruote 2.2.0 released
Version 2.2.0 of ruote, a workflow engine, is out. This tool follows workflow definitions to route work[items] among workflow participants.
Ruby on Rails: Scaling Your App for Rapid Growth
Read this interview by Jolie O’Dell on how co-founder of Gowalla, Scott Raymond, scales Rails. He touches on some of the NoSQL he uses in tandem with PostgreSQL. Includes some code snippets too. Interesting read.
Introduction to Sass: Part 2 (5 Minutes)
We’ve just released the free Introduction to Sass: Part 2 screencast. In this we follow up by showing how to use @import, partials, interpolation and the two types of comments available in Sass. We’ll also show you how to reference the parent selector, which is particularly handy when dealing with pseudo-classes. Check it out.
Apotomo 1.1 released: Lean code, better widgets!
The web component framework for Rails lost 50% of its core and still got better and simpler. Read here how it works.
Testing against multiple gem versions with bundler
Short example setup for testing a gem/plugin against rails 2 and 3 using bundler.
Better Separation of Concerns in Netzke Core with Ext.Direct
Netzke is a Sencha Ext JS and Ruby on Rails component framework. The new blog post explains some interesting recent improvements to the Netzke client-server communication mechanism, which became possible thanks to the power of Ext.Direct.
Interview with David Heinemeier Hansson
Interview with David Heinemeier Hansson - creator of the web-framework Ruby on Rails and a partner at 37signals - at lesscode.se.
Ruby Social Club presentations
Ruby Social Club Milan presentations: Tame accidental complexity (introduction to NoSQL with MongoMapper) , RSpec Best Practices, Timetap (in itlaian), BioRyby (in italian),