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.
Debugging HTTP Proxy - RFC
Hi, I’m hacking away at a proof-of-concept debugging http proxy that allows you to intercept https? requests and record, rewrite, redirect & mock response using rack apps. [more inside]
Ruby on Rails session at SouthwestFox conference
Hear Rod Paddock session on Introduction to Ruby on Rails at the SouthwestFox conference, in Gilbert, AZ - October 18-21, 2012.
Activity Feeds with Protocolist
I’ve created activity feeds gem — Protocolist. It’s kind of newer timeline_fu.
Announcing Redis-Central
Redis-Central makes providing a centralised redis connection and namespacing it extremely easy.
Ruby Internals: Method Definition
Learn what happens behind the scenes when you create a method in Ruby [more inside]
Organise your Rails seeds with Seedbank.
Seedbank makes your Rails database seeds simple and organised. Version 0.1.1 adds dependencies, shared seeds.
EU Cookie Directive rack-policy
I’ve released rack-policy gem v0.3 that helps any rack based web app implement so called EU ‘Cookie Law’.
Getting the most out of FactoryGirl
I blogged about a few tips and tricks for using FactoryGirl. TLDR: use traits and ignored attributes; don’t use random data and test for explicit values.
A refactoring story
I recently refactored some code and would like to share what I’ve learned.
Build Reddit in Sinatra 2.0
A follow-up tutorial which adds features to the original Reddit in Sinatra app.
chef-handler-librato 1.1.4 released
I just released chef-handler-librato at version 1.1.4 with bug fixes. Send your chef metrics to Librato.
webhook-payload: Wrapper around Github's webhook payload for post receive hooks
webhook-payload: Allows you to take the data github gives you on a post receive hook and convert it into an object with a bunch of useful conversions from string to types like timestamps to Time and file paths to Pathname.
Maybelline: A maybe monad for ruby that doesn't suck.
Maybelline is a gem to add the maybe monad to ruby and allow you to write confident code.
Periscope: A gem for exposing your scopes to the world
Periscope makes it easy to chain your scopes from the query parameters on your index actions. Includes support for ActiveRecord, MongoMapper, Mongoid and DataMapper.
Introducing Amfetamine
REST api abstraction on steroids that makes shit go boom.
Heroku's Cedar Stack will kill your Resque workers
A quick how-to on keeping your Resque tasks working smoothly on Heroku from quickleft.com: heroku cedar resque workers
More from Ruby Under a Microscope
This is an eBook I’m writing this Summer about Ruby internals - no C programming required! [more inside]
extend self in ruby
This blog discusses extend self in ruby with some practical examples.
Where's Your Business Logic?
Start cleaning up your Rails apps by consolidating your use cases into their own objects. http://collectiveidea.com/blog/archives/2012/06/28/wheres-your-business-logic/
Local variables - are they they new global variables?
Blog post discussing local variable usage in Ruby (or any OO lang), inspired by reading between the lines of the Refactoring book and validated through experience.
Internationalization in Rails app with Globalize3
A blogpost about internationalization and how to use Globalize 3 <a href=”http://www.synbioz.com/blog/2012/06/27/internationalization_with_globalize” rel=”nofollow” </a>.
Barkeep, the friendly code review system
Barkeep is a fast, fun way to review code. We’ve been hacking on it for about a year. See a video of it in action.
Build Reddit in Sinatra
A tutorial showing you how to build a Reddit-like application using the Sinatra framework. A previous post demonstrated a more condensed version.