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.

Adding watermarks, credits, badges and text overlays to images in Ruby on Rails

This blog post describes how to easily add watermarks and textual credits to your own images by using Cloudinary’s new Image overlay feature. This same method can be used to embed custom badges and medals to your users’ profile pictures, merge arbitrary text to your website’s selected images, and much more. The post includes some Ruby on Rails code samples.

Build Starter Apps with Rails Apps Composer version 1.5.0

I’ve released version 1.5.0 of the Rails Apps Composer gem (announcement here). It’s a gem you can use to generate a Rails starter app. Makes it easy to create and maintain a starter app from recipes that integrate commonly used gems. This release includes a cool new “defaults” feature contributed by Bryan Stearns. Rails Apps Composer is not the only fork of Michael Bleigh’s RailsWizard gem; last month, Dr. Nic Williams of EngineYard forked the RailsWizard gem to create his App Scrolls gem. It seems there’s renewed interest in the idea of generating starter apps for Rails. Probably because Rails continues to get more complicated and gems like these reduce the burden of integrating popular gems into a Rails app.

RABL 0.6.12 Released

RABL (Ruby API Builder Language) version 0.6.12 has just been released. RABL is a popular way to craft service or API responses of all types (JSON, XML, Plist, Msgpack, et al). There have been many improvements in the last few releases including performance, caching, direct renderers, Rails 3.2 support and more. For an examination of why we built RABL, check out our original blog posts and to get started be sure to check out Railscast #322.

OpenStruct 2

I just launched ostruct2 gem intended as drop in replacement for Ruby’s standard ostruct.rb library. The original OpenStruct class has some short-comings, such as name conflicts with built-in methods. OStruct2 improves upon the original by subclassing BasicObject to ensure a clean slate and adds some additional niceties such as support for Enumerable. This is v0.1.0. I’m sure it needs a little bit more work to be complete (e.g. #hash and #dup methods are probably unavoidable), but all the primary functionality is green.

Interesting implementation. Do you think it is a good idea to expose internal s…
Anytime I see code trying to clean up standard lib, I say bravo! @robgleeson…
@robogleeson You are right. I mention this issue in the current docs. Ultimatel…
@jim It’s exposed in #method_missing if you use a bang method that is not defin…

Frozen Rails 2012 call for proposals now open

The Frozen Rails 2012 call for proposals is now open on our new site: 2012.frozenrails.eu - Frozen Rails is a a two day, single track conference and this is the third time that it’s being organised. Currently we’ve confirmed our two keynote speakers and Early Bird tickets are currently on sale and we’re also looking for sponsors. In addition to this, we offer substantial discounts to Rails contributors and students.

E-commerce Tips 1.1 (namespacing)

I’ve been very frustrated when I see an app/controllers directory with a lack of namespaces. It’s just wrong to not have any namespaces in an app that is large. I try to give me reasoning for why it is wrong to not have namespaces in this article

The link is broken :(
Fixed sorry… hre vs href makes a big difference. OOPS

A new gem for the Flickr API called "flickrie"

I just released the first major version of my gem for the Flickr API called “flickrie”. The major difference from other gems of this kind is that it uses an object-oriented approach. Also, it’s written in Ruby/Rails fashion (for example, an attribute that is called #dateupdated in the Flickr API will here be called #updated_at, and #ispro is called #pro?), and you get all the information parsed (like dates, for example, you’ll get Time objects, instead of strings or integers). Check out the project page on GitHub :)

Released multi_markdown 0.1.0.pre1

Just pushed a pre-release of multi_markdown, feedback welcomed. multi_markdown allows projects to use a wide variety of Markdown libraries, without having to depend on a specific one. AKA multi_json for markdown. Please stop explicitly depending on rdiscount or redcarpet, try multi_markdown instead.

@petercooper: user “dfgherh” is a spam bot. Might want to ban it, or the IP Add…
Too long for FP, but: $ gem install multi_markdown --pre require 'mult…

Going to write a book called "Composing Ruby"

Ruby is one of the most richly object oriented programming languages that has ever existed. However, nearly two decades of programmers working in Ruby as if it were a foreign language has prevented us from unlocking its true potential. [more inside]

If you are looking for a classic style wrist rolex replica then you can check o…
Loading older posts