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.
Entity-Relationship Diagrams for Rails 3 applications
Being unsatisfied with the existing solutions, I recently wrote a brand new Rails gem/plugin to create Entity-Relationship Diagrams based on your Active Record models. [more inside]
Ruby the polyglot
An article about some runtime language embedded in ruby. The english version with google translate is here.
clipboard
Hey, I’ve put together this little clipboard gem which allows to access the clipboard on Liunx, MacOS and Windows. You simply say Clipboard.copy("string") for copying and Clipboard.paste for pasting.
Jruby, PostgreSQL 9, JDBC and Listen / Notify
I’ve spent some time this weekend playing with PostgreSQL 9.0’s Listen / Notify functionality from JRuby. Here’s some example code on github and some information on tumblr.
Migrate your Rails app to use GUIDs
I had to move our application to use GUIDs, here’s the way I migrated our tables and some of the issues I ran into in the process.
Hooks without ActiveSupport?
A vivid discussion about the benefits of ActiveSupport in gems lead me to releasing a new version of hooks without the ActiveSupport dependency. I’d love to hear your thoughts about the future of do-it-all ruby feature libraries like ActiveSupport (please comment on the blog post)
A Ruby wrapper around dmenu
Seeing that nobody has yet written a wrapper around dmenu, I took up on that (fairly easy) task! Check out dmenu-ruby@github for more information.
How to make pretty CLI apps in Ruby
A nice how-to that describes in details how to make more professionally looking console apps in Ruby. read the article
Extracting colors from image
I’ve just posted a way to extract colors from image at my blog
Director, Business Development @Tropo.com
Tropo, the cloud communications platform with a Ruby WebAPI, now speaks Asterisk Gateway Interface (AGI)! This means that Ruby developers can now redirect their Asterisk-based Adhearsion phone applications to Tropo’s cloud - no Asterisk systems required! Tropo AGItate and is open-sourced and available on GitHub. It was developed by Jason Goecke on his flight from San Jose to the LoneStar Ruby Conf & back. [more inside]
Phusion Passenger 3.0.0 Release Candidate 1 is out
Please read the announcement for details.
An introduction to eventmachine, and how to avoid callback spaghetti
Martyn Loughran gives an introduction to eventmachine, and how to avoid callback spaghetti in this guest post on RubyLearning.
Neapolitan Multi-Templates
Markdown’s great, but where’s the table support? Textile handles tables, but wait… no indented pre? And do any of them support syntax highlighting? Why pick and choose, when you can have it all? Neapolitan delivers all your favorite template flavors (erb, markdown, textile, coderay, etc.), in a single easy to read and write document format. How does it do this? Via the magic of Malt.
RVM: More than Ruby 1.9 and Rails 3
Sutto’s post - RVM: More than Ruby 1.9 and Rails 3. RVM is best known as a tool to help developers upgrade their applications to newer versions of Ruby and Rails (3 specifically). That said, for ruby developers, it has many features which help to make their workflow far simpler.
Easy environment specific seed files in Rails
I’ve just written a quick post on how to have easy environment specific seed files in Rails, courtesy of Postmodern. Enjoy.
The Testing Mindset
Do you have a Testing Mindset? Noel Rappin argues that one must have one for the TDD process to be effective, in this guest post on RubyLearning.
Koi: A programming language written entirely in Ruby
Koi is a new programming language designed to teach the basics of programming language implementation. All the language components, including a Parser, Bytecode Compiler and Virtual Machine, are written in Ruby. Check out the <a href=”introductory article or the GitHub repo.
Cells for Rails 3 considered stable!
Cells are view components for Rails (somehow comparable to render_component, but awesome). We just released the stable version for Rails 3.
rails_best_practices 0.4.4 released
I have released rails_best_practices 0.4.4, it adds the dry bundler in capistrano check.
Quick and easy geocoding
Do you know that if you just want to do simple geocoding in your Ruby application using an external library may be unnecessary ? Read this!
An Introduction to Desktop Apps with Ruby
Martin Sadler gives you an insight into the world of possibilities with JRuby and desktop applications. A guest blog post on RubyLearning.
Ruby 1.9.2 + RVM + RubyDebug
A quick tip I wrote some time ago on how to get a Ruby 1.9.2 installed via RVM working with RubyDebug.
BasicActiveModel
If you want to implement static models (for a search engine, a contact form…), just inherit from BasicActiveModel : a very small class that provides minimal architecture for a Rails form object.