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.
Feedback Request for RConfig Gem
The RConfig gem is a ruby configuration management library. It was featured on RubyInside a while back. For anyone who’s downloaded the rconfig gem from gemcutter, or watching is it on github, or anyone who finds it useful on interesting, I’m looking for feedback, as well as bug and feature requests from anyone who’s used it. I’m planning a new release soon, and I wanted to make sure it’s packed with improvements!
4 Ways to Retrieve a Twitter List Timeline
3 Ways to Retrieve a Twitter List Timeline using Twitter gem and a new one thanks to this commit by Santiago Pastorino now included on twitter 0.8.3
Introducing GMoney – A RubyGem for Interacting with the Google Finance API
GMoney is a RubyGem that wraps the Google Finance API and can be used to help keep track of your investments.
Macruby 0.5 final is out
MacRuby 0.5 just got released read what changed since last beta. Summary: HotCocoa is now a separate gem, better AOT compilation, GCD API.
Packaging a MacRuby HotCocoa Application without the standard library
A quick post about getting started with HotCococa, packaging a HotCocoa application without including the MacRuby standard library and building the HotCocoa gem from source. Read More Here
Introducing delayed_paperclip
delayed_paperclip is a rubygem that lets you easily process your Paperclip attachments (such as resizing images) in the background with delayed_job.
From Zero to Rails3 on Windows in 600 seconds
This guide will walk through a complete installation of Ruby 1.9.1, sqlite3, and Rails3 on Windows using the Bundler gem. (I’m pretty sure it takes less than 600 seconds)
Impress the Ladies with Legacy Migrations
Details one possible method of converting old data into a new form for your totally gnarly new version of an app.
Shoulda-like Rails validation and association testing with RSpec
Check out rspec_validation_expectations.
gem install cirtuit_b
Classic Circuit Breaker implementing a well-known stability pattern to wrap your code that can potentially fail or get stuck, and start failing-fast after the given number of failures. Used to protect the resources and increase the response time (as opposed to retrying and waiting infinitely).
Benchmarking Rake Tasks and Trivial Rails Testing Optimizations
Rails default testing tasks are not particularly well-optimized for medium to large applications. I optimized my test suite by 30% without editing a single test.
A Maglev Store-y
Gregory House, M.D. uses Maglev to diagnose a patient. Results (and my experience implementing a Persistable
module with Maglev) inside.
Unobtrusive JS In Rails 3 With Prototype
One thing I came across in the current edge rails was using a :method => :destroy option with a standard link_to. My solution to the unfinished UJS in edge rails in this regard.
StackOverflow cool Ruby questions part 3
Third post in Stackoverflow cool Ruby questions series is out!
Use Webadmin to monitor Rails "delayed job" processes (or anything)
Our blog post on how we’re using Webmin to monitor and automatically restart delayed job processes.
Practical Rack middleware examples in Rails
For anybody who heard all the fuzz about Rack middleware in Rails, but is still mystified about how it can be applied in practice, I wrote down two examples of how I have used Rack middleware recently to solve actual problems :-)
Rails 2 and Rails 3 side by side
Quick fix for generating Rails 2 and Rails 3 apps Much better than the command line versioning
gem install encryptor
A simple wrapper for the standard ruby OpenSSL library http://github.com/shuber/encryptor.
Cluster Monitoring with Ganglia & Ruby
An in-depth look at the architecture of Ganglia (performance monitoring) for your cloud service / app, and how connect it to your Ruby application - a new gmetric gem.
Ruby Digest - Simple Aggregator for Rubyists who don't want to miss anything
I just created RubyDigest for myself. It aggregates all major blogs, news sites, podcasts and screencasts. I know there are hundreds of better aggregators, but its just a small project I find useful.
Using Multiple Rubies Seamlessly On The One Machine With Rvm
If you’re into Ruby and are not yet using RVM (ruby version manager) you’re doing yourself a disservice. It’s a great little tool that allows you to easily have multiple Ruby installs on the one machine and will manage all the associated complexity for you. Here is a quick intro to get you started with rvm.
coder.io coming soon (awesome stuff for developers)
I’m (ab)using my founder’s privilege, sorry! My next major project (after Ruby Inside and Ruby Flow) is heading for release soon and since it’s aimed squarely at developers, you guys are my ideal audience! It’s called coder.io. coder.io hasn’t launched yet but please sign up and you’ll get the first look and eventually some discounts and freebies. Also, no spam.. you’ll only ever get up to 3–4 e-mails since it’s just a launch list.