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.

Faraday - Using Backup Host for Remote Requests

Nowadays almost every Rails application interact with the remote service or API. The problem is that you can’t fully trust those services and you forced to add a lot of test coverage and exception handling for this part of code. Once i worked with the API that had mirror server for case when the main one is unavailable. I write a middleware for Faraday, which will use backup host(provided by user) if the original one is unresponsive. [more inside]

Are You a Stable or a Volatile? Recap of Michael Lopp's RailsConf Talk

At RailsConf, Michael Lopp broke down two spectrums of personalities, stables and volatiles, and how these personalities play out in the application development environment. SmartLogic’s Matt recaps the stables and volatiles talk here if you missed it at RailsConf. Interesting to think about how this can help you work better with the people on your team.

Attrio 0.4 released

Today we released Attrio-0.4 (attributes manager for plain old Ruby objects). In this release several issues were fixed but the most significant change is that attributes defined with Attrio are inheritable. Also all class level variables were removed. [more inside]

Casting: adding behavior to objects without using extend

Most software developers tend to write code where objects are given too many responsibilities. Code with bloated objects is more difficult to test, to understand and to maintain in the long run. To keep the code small and focused, different strategies can be used to extract behavior. A new gem, “casting”, claims to bring the benefits of both mix-ins and delegation, but without their drawbacks. Read more:

chruby 0.3.6 and ruby-install 0.2.0 released!

Released chruby 0.3.6 and ruby-install 0.2.0. chruby is an ultra-minimal Ruby switcher (~90 LoC), that does one thing and one thing only, switches Rubies. ruby-install downloads, compiles and installs any version of Ruby, JRuby, Rubinius or MagLev. ruby-install supports automatically installing into ~/.rubies / /opt/rubies and can install additional dependencies using your system’s package manager.

Last chance to sponsor your cat for a good cause ^_^

Earlier this year we announced a sponsorship program for Burlington Ruby Conference where your cat (or dog, or guinea pig) can be a sponsor. 25% of the proceeds go toward our local humane society, the other 75% will go toward conference scholarships for women. As an incentive, we are offering two sponsorship tiers: As a “Middleclass Cat” your pet will be featured on our website, and as an “Aristocat” they will also be featured on the speaker videos. In order to get the donations and scholarship program wrapped up ahead of the conference, we will be closing the sponsorship form at the end of June. For details visit http://burlingtonruby.com/cat.html

Slide Show (S9) 2.0.0 Update - Command Suite Added - build, install, ls, new, etc.

What’s new? The slideshow gem now sports a git or gem like command suite. For example, to install the impress.js presentation pack issue $ slideshow install impress.js or to list all installed template packs issue $ slideshow list or $ slideshow ls to get a quick starter sample issue $ slideshow new and finally to build your slideshow issue $ slideshow build welcome.text More info. Cheers.

Loading older posts