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.
Delayed Job 3 Released
Delayed Job 3.0 was released over the holidays. Here’s a rundown of what’s new and what’s changed.
Monitoring server-side processes with God
We just published an article about monitoring with god.
quickie gem released
Quickie is tiny (less than 100 loc) Ruby testing library that adds should and should_not methods to your objects. Check out Github source repo for details an usage example.
Building a Web Client like Pros
I wrote about how to make your client application to communicate with your API http://icanhasengineering.tumblr.com/post/15082655842/building-a-web-client-like-pros
Don't repeat your capistrano rules
I just blogged about how to avoid duplication in capistrano and I want to have your opinion about that.
Going off the rails on a crazy train
“… I mean when I first saw “def” in the programming book I thought it looked something like ‘Def Leppard’ band.” [more inside]
Rack Server Pages - Simplest way to serve Ruby/ERB pages like a jsp and php.
I just released Rack Server Pages, it provides a simplest way to serve Ruby/ERB pages like a jsp and php. It supports Tilt for rendering templates, then you can use this supported engines such as Slim, Sass, CoffeeScrpt and more. For example, README is wrote in Markdown, styled by Sass and served by Rack Server Pages.
Ruby Object Model - description of super
The document at www.atalon.cz now contains a description of the parent method call (super) logic.
A conference website built with nanoc3
I just created the website that will host the next Italian Ruby Day. I’ve built it with nanoc and I wish it can be improved to be useful for many other conferences.
Geo-Rails part 6: Scaling Spatial Applications
I just posted Geo-Rails part 6: Scaling Spatial Applications, the latest installment in my ongoing series on geospatial programming using Ruby and Rails. It covers database scaling in the presence of geospatial data.
to_wordpress_html using coderay
Hello all, happy new year! I would like to share my first post here useful for highlighting your code snippets on wordpress default theme.
035 Ruby Rogues Estimation
Today the Ruby Rogues discuss estimation, tracking of projects, measuring speed and better managing project time.
Scraping Rackspace for your API Key
My recent endeavor with grepping rackspace for my api key.
ActiveRecord (and Rails) Considered Harmful
I just posted a new blog post. New years’ is about reflection, and here’s some of my reflections on how Rails could improve.
Intro to Machine Learning in Ruby
Example of statistic classification in Ruby.
Ultra Fast ORDER BY RAND solution
I just extract my own random solution to a gem . This solution is based on this post. http://jan.kneschke.de/projects/mysql/order-by-rand/ - It is fast more than you think. Check it out! https://github.com/xdite/fast_random
PubSub Chat Using HTML5 Web Socket and em-websocket
Long back i was working on HTML5 Web Socket and created pubsub chat application so i am sharing my thoughts and demo onto it.
Redis in the NoSQL ecosystem
New blog post at Siyelo’s blog: Redis in the NoSQL ecosystem.
MiniTest Quick Reference Guide
I just wrote a quick reference guide on MiniTest. It aims to demonstrate MiniTest’s main concepts and provide real world examples to get you acquainted quickly.
rails_best_practices has been moved to railsbp organization
I moved two repositories rails_best_practices and rails-bestpractices.com from my personal account to railsbp organization on github, https://github.com/railsbp/rails_best_practices and https://github.com/railsbp/rails-bestpractices.com
Executor v0.0.1 released (exception handling via forked processes)
Exception handling via forked processes! Ever use system 'somecommand that silently fails' and spend hours tracking down an instance where stderr was not showing in the logs? I haven’t.. it usually has only taken a few minutes aided only with the knowledge that the system call is probably failing. It would be great if there were a more standardized way to handle redirection, logging, and exception handling for external commands. Executor aims to solve these issues.
no more `bundle exec ...` v0.2.8 is out
I just build new version (0.2.8) of rubygems-bundler integration gem, it allows you to just skip writing bundle exec ... [more inside]
Managing Daemon Using DaemonKit
How to start/stop daemon using Daemon Kit from any directory.
Meet DirtyHashy: Dirty tracking within hashes or objects as it's expected to be!
Dirty tracking / objects is a common programming concept. In short, it is the concept of tracking whether or not the attributes of an object have been changed and if so, which ones. It is mostly implemented within ORM’s, a couple of examples are ActiveRecord, DataMapper, Mongoid and CouchRest Model. Ironically, I haven’t found a gem suited for the simple desire of dirty tracking within Ruby hashes. Enter DirtyHashy!