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.
Foro coches y mas informacion
Entra a nuestra página y visita nuestro Foro de Coches ademas encontraras mucha información adicional.
Html5 boilerplate for Rails 3.1 gem released
I just launched the rails-boilerplate gem (v0.1.0) which simplifies the integration of the html5boilerplate.com templates into your rails apps. I would love to hear your comments/suggestions…
.NET to Ruby: Classes
The second in a series of posts on Switching from .NET to Ruby, which deals with classes in Ruby versus classes in .NET (C#)
Awesome Nested Fields for Rails
In Rails, you can create forms that have fields from nested models. For example, if a person has many phone numbers, you can easily create a form that receives data from the person and from a fixed number of phones. However, when you want to allow the person to insert multiple, indefinite phones, you’re in trouble: it’s much harder than it should be. Well, not anymore. Check the awesome demo or the project code. =)
Resque Mail Queue Gem
I just published the Resque Mail Queue Gem. This gem makes it super easy to send emails asynchronously with Resque.
How Do You Encapsulate Your JavaScript
Wait, what? This is not JavaScriptFlow.com? Oh well. Here is rant on how jQuery missed an opportunity to educate newcomers to JavaScript on what OO JavaScript is all about.
Viiite 0.2.0 has been released!
A new version of Viiite (an alternative to Benchmark) has been released. See how to create benchmark suites on this post.
rails-footnotes-3.7.5.r2 has been released
Cookies & Queries notes was fixed
ruby 1.9.3 for development?
I wrote up a blog benchmarking Rails boot time across a few of our apps in ruby 1.9.2 vs. patched 1.9.2 vs 1.9.3 preview1. Anyone else using one of the various require fixes out there?
Prevent URL hardcode in Javascript
Rails URL helpers are good to fight with URL hardcode, so we have released a tool that brings Rails named routes to javascript: Check js-routes for more information.
Executing a Ruby block in a different context - solution & optimization
I just wrote small blog post regarding a problem I recently faced. My challenge was to execute with a delay a block stored in an ivar but the tricky part is that the block needs to be executed in a different context. I was after a clean solution that would perform well. This is a summary of what I found out and my final solution.
Textmate to VIM: How to do 100 favourite Textmate commands in VIM
Are you still using Textmate? Wouldn’t you like to switch to VIM for the promised massive productivity boost? Now’s the best time to move to VIMlandia with my guide in hand. I was a Textmate power user and prided myself on knowing every keyboard shortcut in the program. In this post, Textmate to Vim, I show you how to do in VIM 100 commands you knew and loved from Textmate. Brought to you by Jack Kinsella, Rails Developer London
Pry Everywhere
I have just published a post about how I use pry everywhere.
Manage Deeply Hierarchical Data
If you are interested in managing hierarchical data take a look at my new library cascading_classes. It makes it easy to manage properties on data trees containing hundreds of nodes spanning dozens of generations.
RubyPair: an app to help you find people to pair with locally and remotely
I just launched RubyPair. For now, it’s a searchable directly of individuals who would like to remote/in-person pair on things Ruby. I’m working to add more features to it. The project is OSS. You can learn more about it and contributing to it by checking out the profile for @rubypair on Twitter.
Maxixe - A simple, pure Ruby, statistical segmenter for any language
I just wrote a small post on a recent project of mine, a segmenter for Asian and other languages written in Ruby. Take a look at Maxixe!
Combustion: Elegant testing for Rails Engines
Over the last few weeks I’ve been building a Rails Engine - and have been hunting for a better way of testing it without including a full Rails app in the spec (or test) directory, with its own set of tests. [more inside]
Quickly run Sinatra apps using JRuby
A blog post that helps you get your Sinatra apps running using JRuby.
RDocodile, RDoc Beautification Project
In my earnest attempts to make RDocs more aesthetically pleasing and to work towards more practical documentation interfaces, I have transformed my previous RDazzle project into RDocodile, Ruby Beautification Project. [more inside]
An Introduction to MiniTest::Spec
MiniTest is in the Ruby 1.9 standard library and its MiniTest::Spec sub-library provides an elegant and quick way to do spec-style testing. I’ve written a brief introduction to MiniTest::Spec on Ruby Inside so you can quickly give it a try for yourself. (On Ruby 1.8, just do gem install minitest)
Ruby Object Model
The document at has been significantly updated.
Getting to Know ActiveSupport::Callbacks
I just wrote about getting to know ActiveSupport::Callbacks. You’ll learn to use callbacks in your own classes as well as how ActiveRecord life cycle callbacks are implemented using this module.
Setup HAProxy for development environment on Mac OSX for Rails app
Easy steps to setup HAProxy on development environment on Mac OSX to play with Rails app.
The Hitchhiker's Guide to Pakyow
Pakyow guickstart guide covering some of the main aspects of the framework. - The Hitchhiker’s Guide to Pakyow