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.
RMUnicorn, a video blog series about Ruby Mendicant University
I have been doing some video blogging to help give people some insight into the operations and core ideas behind my Ruby Mendicant University program. Production quality will improve over time, right now it’s just a brain dump but may still be interesting!
Creating a Rails engine with tests and a dummy rails application embedded in it
I just released a first post on how to create rails 3 engine as gem.
Common ThinkingSphinx Configuration Problems
Installing Sphinx and the initial setup of ThinkingSphinx are straightforward and relatively simple, however, you can spend a lot debugging a collection of small problems. Here are solutions to common ThinkingSphinx configuration problems.
How culerity does inter process communication
An article on how culerity uses Ruby IO class for interprocess communication
Buildhawk
A historical graph of the time your build takes to run, using the buildhawk gem.
Vim Commands for Developers, Part 2
There’s a new article about Vim Commands for Developers. Includes description of code folding!
Bundle exec bash shortcut
Tired of typing “bundle exec” every time you need to run something with bundler? I put up my bundle exec bash shortcut.
CUDA Programming with Ruby
Need GPU computing power in your Ruby program? Great! SpeedGo Computing is developing Ruby bindings for CUDA, called sgc-ruby-cuda. Take advantage of your Nvidia CUDA-enabled graphics cards with Ruby now. [more inside]
Rails 3, bundler, and the PostgreSQL gem
Here’s a Capistrano task for setting some installation flags if Rails 3 (i.e., bundler) is having trouble finding your PostgreSQL installation.
MetaSearch: A better Searchlogic-ish plugin for Rails 3
MetaSearch is extensible searching for your form_for enjoyment. It “wraps” one of your ActiveRecord models, providing methods that allow you to build up search conditions against that model, and has a few extra form helpers to simplify sorting and supplying multiple parameters to your condition methods as well.
Installing the latest MongoDB package on Engine Yard’s AppCloud
While Proudcloud codes with Rails 3.0.0, Ruby 1.9.2RC and the latest builds of MongoDB/Mongoid, being on the edge does have its drawbacks when using hosting providers who need to play it safe with stable package releases. When deploying Rails 3 Mongoid based apps on EY’s AppCloud, we discovered that…
Slim (0.1.0) a new template language for Rails 3
Slim is a template language whose goal is reduce the syntax to the essential parts without becoming cryptic.
ACLatraz 0.1.0 just released!
Just released the newest version of ACLatraz - a kick-ass access control system for Ruby! Install it from rubygems: sudo gem install aclatraz … or check it out on github for more info.
Colorblind: trendy make-up for your Rails logger
We just launched colorblind, a Rails 3 gem which enhances your logger with trendy colorschemes from the 90’s! Fork it on Github if you want!
Introducing Public Suffix Service 0.5.0
Public Suffix Service 0.5.0 is the new version of the Ruby domain name parser based on the PSL. This release includes performance improvement by orders of magnitude. Read more.
MetaWhere: AR 3.0 Query Syntax on Steroids
MetaWhere offers the ability to call all Arel predicate methods (matches_any, lt, gt, etc) on your model’s attributes instead of the ones normally offered by ActiveRecord’s hash parameters. It also adds convenient syntax for order clauses, smarter mapping of nested hash conditions, and a debug_sql method to see the real SQL your code is generating without running it against the database.
Getting a bloody Rails 3 generator running. And testing it.
The first real explanation ever on how to write rails 3 generators and package ‘em in your gem library along with rock-solid tests.
Automate your server management with Hetzner-API
I’ve just released a small httparty-based wrapper gem for the Hetzner.de API. Hetzner is a very cheap dedicated server provider in Germany and with the new API you can automate os installation, reboot, failover-settings and other things. Feel free to add/use it in your (pseudo-) cloud projects. Source on Github
Win a free pass to GoGaRuCo 2010
At the Hybridgroup we just launched Kanbanpad. We feel it’s the leanest project management system out there, and we want more people to know about it. As a promotion, we will give away one free ticket to GoGaRuco 2010 for the best tweet about Kanbanpad. More details on how to win.
MustBe: Selective type-safety for Ruby
We all love ruby for its free-flowing non-static-typedness, but sometimes it’s healthy to do little sanity check. To make sure your duck is a duck. must_be is a powerful library for runtime assertions, allowing you to build assumptions into your code. A great way to find bugs before they find you!
Automate your Terminal.app with Apfelschorle
I’ve released a small Terminal.app launcher (OSX only) that works with multiple windows, not tabs. Start using your 1680+ pixel display with different parallel windows instead of wasting it with one (and hidden tabs). [more inside]
The Terminitor - Automate your development workflows.
The Terminitor is a brand new rubygem that can simplify your workflow by automatically executing the terminal commands needed to prepare your project. Check out the the source on Github.
Always check in schema.rb
Some argue that schema.rb should be ignored in your version control. Long story short, I argue that it should not.