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.
Rails 3 and Authlogic
Just finish posting about how to fix the session problem when working with Rails 3 and Authlogic
Upcoming Ruby Conference Map
2010’s remaining (announced) ruby conferences directory & map.
Rate-Limiting Gem
I’ve created a simple rate-limiting gem for restricting the number of times a method can be invoked within a specified time period. You might wish to use it when scraping websites or when using 3rd-party APIs that require you to throttle your own access. [more inside]
RubyGems on GitHub!
The official repository for RubyGems has moved over to GitHub! Woot!
The Road to Passenger 3: Technology Preview 1 – Performance
Phusion Passenger 3 is up to 55% faster.
Calculating an Images Orientation using Paperclip
If you ever need to calculate if an image is landscape or portrait, you can use this code
Develop Rails 3 applications with your favorites gems without headaches
I created a template to start off a Rails 3 application with some custom gems. The motivation is shortly explained in this post.
Making Ruby threadable: properly handling context switching in native extensions
As discussed by Igvita.com’s “Rails Performance Needs an Overhaul” article, multithreading is hindered by broken native extensions. This article teaches you how not to make those mistakes.
Does Rails Performance Need an Overhaul?
This article reflects on the recent Igvita.com “Rails Performance Needs an Overhaul” article.
Using OpenAmplify with Ruby
I have just released a gem for the OpenAmplify API. If you are interested in text analysis, the OpenAmplify is a good place to start. I have written a short guide using the openamplify gem.
Introducing Rack::CORS
This is a piece of Rack Middleware I’ve been working on that enables Cross-Origin Resource Sharing for Rack-based applications.
Avoid memory leaks in your ruby/rails code and protect you against denial of service
Ruby symbols are cool stuff, but do you know there dark-sides ? If not, read this post about avoiding two types of ruby misuse that leads to memory leaks and at the same time protect you against possible denial of service !
AlignText.tmbundle - align text any way you like
If you like to align your assignments in textmate, you’ll love this bundle - AlignText.tmbundle. It allows you to enter a regular expression pattern and align code in any way you like. Please see this blog post for detail.
Rails 3 Screencasts
With the release of Rails 3 beta 4, I helped produce a new series of free Rails 3 Screencasts to get you up to speed on the new features and improved APIs.
DataMapper 1.0 is released!
DataMapper 1.0, the Object Relational Mapper is now available! Check out this release announcement for more info.
TMTC 23 - Interview with Bryan Liles
You remember that TATFT guy? Bryan Liles? I just interviewed him on the TeachMeToCode podcast.
Getting gravatar images with Ruby on Rails
Simple tutorial about how to get avatar/images from Gravatar with Ruby on Rails. Includes: 1) What is Gravatar? 2) Understanding how to get images from gravatar. 3) Installing and using gravtastic.
Aspect4r 0.7.1 is released
I’ve just released Aspect4r 0.7.1. Please see more details on my blog post. Aspect4r adds a solid method wrapper to Ruby, makes it easy to do Aspect Oriented Programming with help of Ruby’s powerful meta-programming functionality.
New version of Bowline & Bowlineapp.com released (Ruby Desktop Apps)
I just launched bowlineapp.com - Bowline’s home. On top of that, a new version of Bowline has been released which has been almost completely rewritten to sit on top of it’s own wxWidgets/WebKit framework. [more inside]
Using RVM GEMSETS to manage multiple rails installations in the same ruby version
Just finished post in my blog about Using RVM GEMSETS to manage multiple rails installations in the same ruby version Share if it’s useful :)
array#only for ruby
A small post providing a semantic replacement for array.first when you only expect it to contain one item.
How we work: flipping features
FeatureFlipper is a simple library that allows you to restrict blocks of code to certain environments. This is mainly useful in projects where you deploy your application from HEAD and don’t use branches. Read more about the motivation in the introductory blog post.
Rails Performance needs an Overhaul
The state of art in the end-to-end Rails stack performance is not good enough. We need to fix that, and to do so, we need to revisit our app server model, as well as everything that touches it.
Just released: logicalapi
We just launched logicalapi, an interface to manage Github collaborators and Pivotal Tracker members across repos/projects.
Rails 3 Documentation
I just relaunched PlasmaRails.org. It hosts the current Rails RDoc and is regenerated every day.