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.
Sadie, Olsen - Data gathering and reporting
I’ve released a couple of data-gathering and reporting gems: Sadie and Olsen. Sadie makes it easy to assemble data from various databases, network locations, files and other sources. It has some nice facilities for managing memory usage, session storage, and optimal and/or minimal execution. Olsen, a simple reporter, builds on Sadie to form a framework for reporting and analysis. It currently uses the TeX typesetting system to produce pdfs, but it is completely pluggable and can be easily extended to produce a number of different outputs.
Gon gem version 3.0.0 is out
I just finished refactoring and updating of my gon gem and now it can rock from any part of your application with Gon.global feature.
Partial Validation of Active Record Objects
Ever want to save, just part of an object? You can with partial validation. This example uses Wicked a gem for making step by step wizards, and shows you how to build objects piece by piece and validate every step of the way
Visualizing a Network in 3D with the Sinatra, Gon and Neography gems
When 2D is not enough go full 3D in the browser with Three.js.
Redis Failover for Ruby based on ZooKeeper
I just launched redis_failover for Ruby. It’s a full redis failover solution based on ZooKeeper that consists of a Node Manager and a failover client. A redis failover Node Manager daemon runs as a background process and monitors all of your configured master/slave nodes. The client also acts as a load balancer in that it will automatically dispatch Redis read operations to one of N slaves, and Redis write operations to the master. If it fails to communicate with any node, it will go back and fetch the current list of available servers, and then optionally retry the operation.
Authority 1.0.0 released: powerful, simple Rails authorization
Rails authorization just got simpler: Authority 1.0.0 is released! It’s ORM-neutral, super-flexible, and has no confusing syntax to learn; all your logic goes in one or more Ruby classes called “authorizers”. Plentiful testing and documentation awaits your perusal.
human_attribute for easy rails attribute i18n
I just launched human_attribute gem for rails attribute translation. [more inside]
The 10 Most Underused ActiveRecord::Relation Methods
Knee-deep in ActiveRecord::Relation code yesterday, I was reminded of some interesting nuggets that I have seen used far too rarely. Here, I’ve gathered my top ten most underused relation methods from that list for your reading delight. [more inside]
RConfig 0.4.0 Released
I just released RConfig 0.4.0. It’s been updated to support Rails 3.x, as well as Ruby 1.9+. It also has new features like reference support for xml and properties files, as well as a ton of bug fixes! I welcome any and all feedback and suggestions. Please report any bugs as well.
Automate tmux for quicker coding in vim
A short blog post with video (thanks to shelr.tv) showing how to script tmux to start your Rails development environment.
The Three Cancers in the Ruby Community
I just blogged about a few traits and attitudes of the Ruby community that I consider we should get rid of collectively. Dragons ahead.
Introducing Rails One Click for Mac os X (I need your help!)
Rails One Click is a/will be a simple installer for Ruby and Rails. It is targeted at beginners who have little/no programming experience and want to try Rails. Rails one Click installs Ruby 1.9.3 with yaml support, and the latest version of Rails. Rails One Click on Github.
CommandModel - when update_attributes isn't enough
A domain model which reifies concepts in methods like account.withdraw(...) is much richer than one that funnels everything through account.update_attributes(...). But how to integrate this better domain model with Rails validations and form helpers? CommandModel to the rescue!
themes_for_rails 0.5.0 has been released
You can read about it here. [more inside]
Multiple token authentication with Devise & redis
A very interesting new post on my blog: Multiple token authentication with Devise & redis
The Paydirt Stack: The tech that powers a Rails-based startup
I always enjoy reading about the hardware, software, and supporting services that people use when developing Rails apps. Here’s what we use at Paydirt to keep things ticking. [more inside]
DaVinci Coders Open House 4/21
DaVinci Coders is hosting an open house on 4/21 in Louisville, CO for anyone interested in their programming course. DaVinci Coders is an 11-week course for people with little to no programming experience who want to fully immerse themselves in a software development environment and emerge with the experience necessary to work as a programmer. It’s a serious commitment with serious results. The course teaches Ruby, Ruby on Rails, HTML5, CSS, JavaScript, Git, and PostgreSQL, just to name a few.
My OS X Rails installation using Homebrew and rbenv, step by step
In this opportunity I’ll explain (as the title suggests) how to go from a brand new mac os x to running Rails tests…read full article
Gemsets Made Easy
I wrote an article about gemsets but without using any ruby version manager. [more inside]
Performance Testing Rails with BlitzIO
Haven’t you always wanted to make some changes to your server and then absolutely slam it with traffic to see the result? That’s exactly what I did to performance test some configuration changes I made with Rack::Cache and Rails last week using BlitzIO.