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.


Upload video files with progress bar using Rails, Paperclip and Javascript

Rails does not help much when dealing with AJAX uploads by means of external JS libraries. I recently came across a case where a developer was struggling to use JS to upload a video to a Rails backend. The main reason to use JS was to have a progress bar, something that is missing in the Rails world. In this blog post I’ll show you how to implement the functionality in the simplest case possible. [more inside]

ANN Lotus v0.3.2

Automatic secure cookies, action file send and routing helpers, optional contents for views, Lotus.root and bug fixes.

Submit your Talk Proposal for Rubyconf Brasil!

This month we opened up the Call for Proposals website for the 8th edition of Rubyconf Brasil. We’ve been running this conference for 8 years in a row and it’s the largest Ruby conference in Latin America amassing around 1k attendees. Also, if your company is interested in reaching out to this large Ruby community, let us know. We will have a brand new conference format this year, read the description at the CFP site.

Tacokit.rb - a simple Ruby wrapper for the Trello API

We use Trello to manage our development process and Ruby to extra data from Trello. Other Trello Ruby wrappers didn’t fit our needs. We wanted something simple, well-tested, and easy to use; we wanted ocktokit.rb for Trello. So we built tacokit.rb. Though still a work-in-progress, it’s now open source and we hope others will find it useful as well.

Documenting Ruby command-line apps (pdf download)

Very few people would be able to use your commandline app without proper documentation. Users would have to read and understand the source code to know what options and commands the app provides, what the options mean, and what arguments the app accepts or requires. If you intend to make the app available to others and use the app multiple times periodically, for a long time, you must document your app. Luckily, there’s a standard for building cli apps that include the right features and proper, well-formatted documention.

Here’s the linkt to the blog post…

PersistentOpenStruct: a faster OpenStruct

Addressing a situation where we wanted to use OpenStruct as a flexible data container but didn’t want the awful performance, I put together a faster version which defines methods on the class rather than defining singleton methods on the object. This gem is ideal for situations where you need flexibility at runtime, but you’re basically using the same set of keys again and again. It’s available on RubyGems as persistent_open_struct, and you can learn more at the GitHub repo and on my blog.

How can you deliver content from a Rails app as fast as a Statically Generated Site

Many developers will suggest you should just try Jekyll or other similar tools to generate a static HTMLs and deploy to S3. But many times we want to have Rails features for a more robust application. But you don’t have to live with slower requests, you can deliver content from Rails as fast as with a static generated website without leaving Rails as I explained in my article

How To Integrate Clickatell In Rails Application

When it comes to sending an SMS using Ruby on Railst, there are two approaches you can take. The first – and more complicated – is to use your own hardware and something like the ruby-sms library to communicate with the hardware.

Loading older posts