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.

  Yesterday

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 http://blog.excelwithcode.com/documenting-com…

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.

The Secret Life of Your Database, Part 1: Migrations

Have you ever looked closely at a migration file and wondered what’s really going on? This post unpacks the secret life of your Rails database, highlighting the differences between the up, down, and change methods and irreversible migrations.

Using CoffeeScript to Trigger Click Events

In part three of this multi-part series on building a fully functional calendar in Ruby, we will be adding some CoffeeScript and Rails to create and render events to the calendar. Ir runs a little long, so I will have to do another episode to make the sql query more efficient. [more inside]

Loading older posts