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.
ScaffoldHub: a community driven gallery of Rails scaffolds
Hi… I’m looking for some feedback on the idea behind this site: http://www.scaffoldhub.org [more inside]
Eventable: Easily add garbage collection safe events to any class
Eventable is an easy to use and understand event model; it’s the simplest way to add fine-grain events to your classes. [more inside]
Event Bubbling in Widgets (Apotomo Screencasts of Glory, Episode 3)
The third episode of the Apotomo screencasts explains how Ruby widgets can use event bubbling for building decoupled view components.
TaskJuggler III starts beta test
After almost 5 years of development the rewrite of TaskJuggler in Ruby is heading for the first stable release. TaskJuggler is an advanced project planning and tracking application that goes far beyond the commonly known Gantt chart editors. It used to be a large C++ application that has been rewritten in pure Ruby. The TaskJuggler III code had become pretty stable, but the project is now looking for a broader user and developer base to iron out the project description syntax before it freezes for the first stable 3.0 release. For coders, the source code can be found on GitHub. For users, the manual can be found here and an example project can be found here.
GemAWeek Episode 2 - Active Admin
I posted Episode 2 of GemAWeek focusing on Active Admin, a highly configurable framework for creating admin interfaces in your Rails application. Check it out and send me feedback!
RubyGems + Bundler Integration
I just released rubygems-bundler integration gem. No more calling bundler install --binstubs
or bundler exec ...
. Install it by calling gem install rubygems-bundler
and follow the on-screen instructions. Current version 0.1.5 allows recreating executables wrappers for all gems in GEM_PATH (include @global gemset for rvm). Note: This gem allows to use binaries in version specified by Gemfile ;)
Managing and monitoring your Ruby application with Foreman and Upstart
Every application you deploy should be monitored and managed by some type of process monitor to ensure your processes are up and running at all times. See how this is done using the Foreman RubyGem and the Upstart utility.
Understanding Rack : middlewares
I just launched a blogpost about Rack middlewares. { :Language => :french }
Get 10-30% Faster Rails 3.0 Booting in Ruby 1.9.2 With RVM Now
A few days ago I wrote about how ruby-edge (and Ruby 1.9.3) got a faster file loading patch giving a boot speed improvement of 30-40% on Rails 3.0 apps. Well, someone’s made up a similar patch for Ruby 1.9.2 and I explain how to get it running on Ruby 1.9.2-p180 right now. Want your Rails 3.0/Ruby 1.9 specs to fly a little faster? Here’s your ticket.
JillPaginate and Jaminari - Pagination from Ruby in JavaScript
I already posted about a JavaScript WillPaginate implementation but we had some technical trouble and reset the GitHub repository. I’ve now re-released the Fiji project which contains two well known pagination solutions implemented in Javascript using the jQuery UI framework, Jaminari and JillPaginate. I guess you know on which extensions these are based on ;-) (if not, see our README). [more inside]
Easy handcrafted prototypes for Rails
We at Kisko Labs just released Carpentry as open source. Carpentry is a simple tool for prototyping in Rails. It gives you possibility to use all Rails helpers and Ruby to build prototypes. Our designers love it, hopefully you will too.
MacRuby on iOS - confirmed? (Or not.)
iOS 5 will have garbage collection, so it’s now looking increasingly likely that MacRuby/iOS apps will be possible
Euruko in Amsterdam next year, go big or stay small?
About Euruko 2011 in Berlin and some thoughts about the Amsterdam edition next year.
Slop 1.7 - Awesome option parsing
I’ve just released Slop 1.7. This version adds better support for Handling lists, and the awesomeness that is auto creating options at parse time. Even with these awesome features, Slop still lingers at around 400 lines of code. Much smaller than most option parsers!
Faye 0.6 released
The easy-to-use pub/sub messaging server Faye is now on version 0.6, which features a new backend engine based on Redis. This lets you distribute your Faye service across many web servers to increase connection capacity.
Screencast on "How Autoloading works in Rails"
BigBinary has produced a screencast on How Autoloading works in Rails .
Fed up of typing `bundle exec`? Automate it with bundler-exec.
bundler-exec replaces a bunch of common Ruby commands (e.g. rake, ruby, rails, rspec) with a shell function that automatically runs them with bundle exec
if you’re working in a Bundled project. http://effectif.com/ruby/automating-bundle-exec If you’re not sure why that’s a good thing, that’s explained too.
Helpful Resources For Upgrading to Rails 3.1
Getting ready to upgrade to Rails 3.1? Or, perhaps you’re just curious about what the upgrade experience looks like? This collection of helpful resources will guide you through the upgrade to Rails 3.1. [more inside]
The Rogues are at it again
The Rogues are at it again! This time talking about RubyGems and open source project maintenance. We also went into some of the community aspects of the RubyGems project and what it means.
Building a Rails development server
A walkthrough of using Nginx to serve multiple Rails apps with Thin, Unicorn or Passenger. Nginx config examples included.
Announcing Virtus - Attributes on Steroids For Your Plain Ruby Objects
Check out my announcement about a new project called Virtus which is an extraction of DataMapper Property API.
When did that feature go live? (and other useful git commands)
I just posted two new blog posts covering some useful git actions: [more inside]
RVM + Gemsets for super easy Ruby and RubyGem management
You are not alone. I have had my fair share of issues with conflicting gems too. I wrote an article titled “RVM + Gemsets for super easy Ruby and RubyGem management” for those that might be new to RVM, Ruby or just looking to learn about a few RVM Best Practices that they may or may not be using. [more inside]