RubyFlow The Ruby and Rails community linklog

×

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

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Filling PDF forms with Ruby and pdftk

I frequently need to populate pdfs with dynamic data, and found a really easy way to do so with ruby and pdftk and finally got around to writing a blog post on it. Enjoy!

I’m a fan of this method too ;), glad to see you finally blogging about it Greg…
+1, pdftk for the win. I say that as the original author of Prawn :)

What code goes in the lib/ directory?

A common question teams run into while building a Rails app is “What code should go in the lib/ directory?”. In this post I describe a common antipattern for Rails code organization and a principle for determining what classes should go where.

Thanks for writing this Bryan. It received a healthy discussion on the Mendican…

logmein & remindme - Drop-in authlogic-based login and forgot password engines

logmein and remindme are two Rails engines developed a while back but only just now putting a few notices around in hopes they are useful to others. Built on Authlogic they provide the views and controllers that Authlogic does not provide. Great for a drop-in authentication system. If you later need something more custom you can keep the Authlogic base and replace the controllers/views with your own stuff.

“If you later need something more custom you can keep the Authlogic base and re…

Command Line Reporter 3.0 Released

The latest version of Command Line Reporter has undergone a major refactoring and now supports color and boldface output. Highlighting and making data visually appealing on the terminal screen is easy now. The gem is available on rubygems.org with source on github. For those not familiar with Command Line Reporter, the gem provides a ruby DSL for writing ascii reports with built in features like progress reporting and table formatting. It is very handy for system level and data reporting scripts.

Webmachine v0.4.0 Released

Webmachine, the HTTP toolkit (for Ruby), has been released in version 0.4.0. This release includes some important refactorings that enable greater modularity and extensibility, and some great new features. Check out the release notes in the README for more details.

Push notifications using express.js and socket.io

Ever wondered how to get push notifications on your web-page? Instead of using XMPP solutions, there are simpler techniques today using websockets. Gautam explains how we can send notifications for live bids from a MongoDB backed Rails application to webpages using a combination of socket.io and express.js. Needless to say, this would work only on WebSocket compliant browsers.

Turn 0.9 Release

Turn 0.9 was released yesterday. It addresses all the issues users have reported since the previous 0.8.2 release including full backtrace support, test skipping and the bundle exec autorun problem. All good news. [more inside]

What is “Turn” and is there a site for it?
It’s a gen that colorizes tests output: https://github.com/TwP/turn …
I am surprised that Turn is dropping support for Test::Unit, given that Test::U…
Thank you, Michel!
Loading older posts