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.
Saw that Pfeed (Automagical Feeds) is now available for Rails 3.x
I just found that pfeed has been ported to Rails 3.1. You need Pfeed when you want to automagically create fancy logs / activity updates in your rails app, asynchronously.
Ruby, Concurrency, and You
Evan Phoenix breaks down the difference between concurrency and parallelism, and how a programmer experiences them.
Communication in Engineering, Software, and Open-source
Not strictly ruby, but I wrote this based on my experience developing open-source ruby and javascript projects in mind. Communication in Engineering, Software, and Open-source.
Search Youtube with ease
Ruby YouTube Search a siple gem (no dependencies) for a simple task. YoutubeSearch.search(‘lolcats’, ‘orderby’ => ‘viewCount’, :per_page => 3, :page => 1)
rolify: roles library with resource scoping
I just released rolify 1.1, this ruby gem provides a simple way to manage different kind of roles in your application. Let say you don’t want just global roles in your application and/or you don’t want them to be hardcoded. Rolify allows you to define 3 role scope levels: [more inside]
bundler-auto-update: Auto-magi-safely update your Gemfile.
I just released bundler-auto-update, a ruby gem that updates all gems listed in your Gemfile to the most recent version that does not break your tests.
Turn Urls into image/videos tags
Url-To-Media-Tag converts e.g. user-submitted urls into images and videos UrlToMediaTag.convert(‘http://www.youtube.com/watch?v=kW-dS4otEZU’) # -> <iframe …>
A quick and dirty Rails development environment using ubuntu 11.10
I have a quick setup for getting up to speed with the latest versino of ubuntu. [more inside]
Simple Nginx tuning for production server
Simple nginx tuning for rails application on production server
The Resque Way
Bogdan Gusiev walks through lessons learned using Resque in production at RailsWare.
Fast specs - Run your specs in less than 1 second
I run my specs in just under a second. How fast are your specs? Read more here
Gitlab released. A similar to github application but for your servers with private repositories only
Gitlab released. A similar to github application but for your servers with private repositories only. http://gitlabhq.com
Airplay 0.2.6 iOS 5 Support
Apple releases the final for iOS 5 and i update the gem also! Now supports Apple TV running iOS 5 and Airplay compatible servers.
Multiple Facebook login strategies using Devise and Omniauth
I needed to create multiple Facebook Omniauth login strategies in the same app. So I wrote a post on how I did it. Read the post on Wealsodocookies.
How to install VM's on a Hetzner Root-Server with an automated script.
You can find all information in the README file. My goal was to save money and to have multiple independent systems for development, testing, staging and production.
When Your Fat Models Need to Go on a Diet
Thoughts on slimming your heavy ActiveRecord models at the source and during runtime.
Using rbenv to manage rubies
How I use rbenv to manage rubies and integrate with other UNIX tools
Silicon Valley Ruby Innovator Award Competition
The first ever Ruby competition judged by “Matz” in Silicon Valley. Application Deadline: October 17 Enter Now: » 2012 Fukuoka Ruby Award Competition
Ammeter: The Way to Write Specs for Your Rails Generators
Introducing the Ammeter gem that lets you write specs for your Rails Generators using RSpec.
REE garbage collector performance tuning
A long back I have tuned my GC of REE for a small rails application and also wrote post over here. Now it is a time to revisit whether same tuning is still applicable, after code base becomes huge.
biceps: versioning your API with ease
There’s been a lot of debates lately on how (and whether) one should version his/her API with the Accept header, so we extracted our Rails routing constraints into a gem: biceps
Spree Raises $1.5 Million for Open Source eCommerce
Tech Crunch just announced a $1.5M seed investment in Spree Commerce, Inc. Spree is the leading open source e-commerce platform for Ruby on Rails. Don’t worry - its going to stay 100% open source. You can read the official Spree announcement for more details.
It’s time to clean up your mess: refactoring Cucumber step definitions
Don’t let your features/step_definitions folder become a mess! Learn how to refactor your Cucumber step definitions to be more readable and maintainable.
Challenge: methods taking multiple blocks
Ruby makes it trivial to pass a block of code into our method calls. But what do we do when a method needs two blocks of code or more? In this week’s Codebrawl, we challenge you to write the most elegant way to allow a method to take multiple blocks. Oh, and we have a great prize for the winner!