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.
Announcing Multipart Body
When we created CloudMailin we needed to create multipart bodies to post emails as HTTP content. We couldn’t find a standalone gem to create this content so we wrote our own code. Over the weekend we released this code as a gem. It’s far from perfect and we need help making it better but hopefully it will help others. Read more here.
Selector-Free Cucumber Scenarios
My latest blog post, showing one of a few reasons why your cucumber scenarios should not contain any CSS/XPath selectors and some code to make it easy to avoid doing so.
Geoffrey Grosenbach: How to Learn Ruby (or any programming language)
Geoffrey Grosenbach writes on how to learn Ruby (or any programming language). This guest post on RubyLearning is targeted towards programming newbies.
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.