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.
Aspect4r 0.8.1 is released
Aspect4r 0.8.1 is out. Important new features are: define advices on class methods, test advices and wrapped methods easily. IMO, with this release it can be considered a complete solution for extract common code from one class/module. [more inside]
17 Rack Middlewares I Want To Use
I posted 17 Rack Middlewares I want to use from going through CodeRack.
The textilize and markdown methods were removed from Rails
The next version of Rails 3 will have no textilize, textilize_without_paragraph, and markdown methods. Get them back with Formatize!
Fingerprinting Support for Paperclip
I’ve added Fingerprinting support to Paperclip. This can make your web app faster for users and also reduce bandwidth costs.
Introducing Prarupa
Prarupa is a gem/plugin for Rails 3 that provides the textilize, textilize_without_paragraph and markdown helpers(removed in master). It uses RDiscount for markdown instead of BlueCloth and the markdown method also accepts options like :filter_html & :autolink.
Rails Best Practices: introduction
I’m writing a series of posts about Rails Best Practices: this is the first introduction post. Follow me, i like if you have comments and contributes.
ExtJS and Rails with Netzke: Virtual attributes in grids and forms
A fresh solution to cleanly specify and configure (virtual) attributes for Netzke widgets: the blog post. With live demo, as usual.
Consume a web service in 3 lines of Ruby...
Find out how to read read World Bank data (using a public JSON web service) using 3 lines of ruby code.
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.