rubyflow.com Archives - 29 November 2012, Thursday

  • Ruby Tidbit: Include vs Extend with Module Class Variables

    rubyflow.com 29 Nov '12, 4pm

    Ruby Tidbit: Include vs Extend with Module Class Variables Posted by ernie on November 29, 2012 — 0 comments I just put together a quick article about an interesting difference between include vs extend of modules when it comes to class variables. Interesting, if not necessarily pract...

  • Convert to the new Rspec syntax with Vim macros

    rubyflow.com 29 Nov '12, 1pm

    Convert to the new Rspec syntax with Vim macros Posted by sleeplessgeek on November 29, 2012 — 0 comments Rspec 2.11 introduces a new syntax: `expect(foo).to eq('bar')` instead of `foo.should eq('bar')`. If you're using Vim, you can record and play back macros to make converting your ...

  • Simple App Stats with StatBoard

    rubyflow.com 28 Nov '12, 9pm

    Simple App Stats with StatBoard Posted by dce on November 28, 2012 — 0 comments I made a simple gem for displaying app usage stats . Comments “ ” Post a Comment Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the esca...

  • Running a High Volume Rails app on Heroku

    rubyflow.com 28 Nov '12, 6pm

    Running a High Volume Rails app on Heroku Posted by bryckbost on November 28, 2012 — 0 comments In 3 easy steps you can setup a rails app on Heroku that can easily handle 200 requests per second and 100 concurrent connections, for free. Check out how ! Comments “ ” Post a Comment Comm...

    Related:
    1. Deploy Ruby on Rails App Heroku odesk.com 22 Nov '12, 7pm
  • Your Objects, the Unix Way — Applying the Unix Philosophy to Object-Oriented Design :

    rubyflow.com 28 Nov '12, 2pm

    Your Objects, the Unix Way — Applying the Unix Philosophy to Object-Oriented Design Posted by brynary on November 28, 2012 — 0 comments I just posted the latest article on the Code Climate blog. It's written by John Pignata, and discusses the similarities between Unix design and good ...

  • turntabler: An evented Turntable.FM API

    rubyflow.com 28 Nov '12, 12pm

    turntabler: An evented Turntable.FM API Posted by obrie on November 28, 2012 — 0 comments turntabler is an evented, fiber-aware, fully-implemented API for Turntable.FM. Features include untangled callbacks, interactive debugging, detailed documentation, and more all wrapped up in a cl...

  • Adding borders to images from your Ruby code

    rubyflow.com 28 Nov '12, 11am

    Adding borders to images from your Ruby code Posted by Cloudinary on November 28, 2012 — 0 comments This blog post explains how to easily add various kinds of borders to images using Cloudinary's cloud-based image transformations. It also demos some useful chained transformations for ...

  • Using RABL to build Sinatra and Rails APIs

    rubyflow.com 28 Nov '12, 12am

    Using RABL to build Sinatra and Rails APIs Posted by nesquena on November 28, 2012 — 0 comments As RABL has been growing in popularity, I have noticed a lot of confusions and misunderstandings about best practices and how RABL works. To help remedy that, I have put together three guid...

  • Git database branches

    rubyflow.com 27 Nov '12, 9pm

    Posted by oBeLx on November 27, 2012 — 0 comments We love Git. At Railsonfire we are currently working on a new version of our platform with lots of new features. For every feature we create a separate Git branch and once it’s done we integrate the feature into the main application. T...

  • Real life concurrency in Go

    rubyflow.com 27 Nov '12, 6pm

    Real life concurrency in Go Posted by mattetti on November 27, 2012 — 0 comments Concurrency is a hot topic in the Ruby community, so taking a look at how other languages/communities approach the challenge can be very valuable. This is exactly what I did in this blog post showing how ...

  • Upgrading to Rails 4 eBook (beta)

    rubyflow.com 27 Nov '12, 4pm

    Upgrading to Rails 4 eBook (beta) Posted by alindeman on November 27, 2012 — 0 comments I have released the first beta version of Upgrading to Rails 4 . Rails 4 is not yet released, but might be soon . There are also certain features you can start using today in Rails 3.2 that have be...

  • New mousetrap-rails version

    rubyflow.com 27 Nov '12, 11am

    New mousetrap-rails version Posted by kugaevsky on November 27, 2012 — 0 comments I just released new mousetrap-rails version — 0.0.7. Comments “ ” Post a Comment Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the es...

  • Unicode Whitespace Shenigans in Ruby

    rubyflow.com 26 Nov '12, 3pm

    Unicode Whitespace Shenigans in Ruby Posted by PeterCooper on November 26, 2012 — 1 comment It seems that sometimes.. the split is not enough! (Yes, Bond theme - 100% cheese.) If you've got a string that just won't split, there might literally be more to it than meets the eye. I use t...

  • worlddb/console - Try world.db w/ Interactive Ruby Console

    rubyflow.com 25 Nov '12, 10am

    worlddb/console - Try world.db w/ Interactive Ruby Console Posted by geraldbauer on November 25, 2012 — 0 comments I've added support for the interactive Ruby console (irb) to the open world database gem. Use irb -r worlddb/console and you're ready to go. Try en = Country.find_by_key!...

  • Controlling "random" behavior in Ruby

    rubyflow.com 24 Nov '12, 6pm

    Controlling "random" behavior in Ruby Posted by sleeplessgeek on November 24, 2012 — 0 comments Did you know that you can control the behavior of "random" methods in Ruby - things like `sample` and `shuffle` and `rand`? I just wrote a blog post explaining how. Comments “ ” Post a Comm...

  • Hats are obselete: Ruby Secret Santa assignment script

    rubyflow.com 24 Nov '12, 5pm

    Hats are obselete: Ruby Secret Santa assignment script Posted by sleeplessgeek on November 24, 2012 — 0 comments Christmas, as 2 solid months of in-store nostalgia have ensured we know, is coming soonish. But how can we do our shopping from the safety of home until we know who to buy ...

  • Concurrency Patterns in Ruby: Futures

    rubyflow.com 22 Nov '12, 7am

    Concurrency Patterns in Ruby: Futures Posted by jpignata on November 19, 2012 — 0 comments Concurrency! Threads! Ooh, scary! Don't be afraid. Sometimes we just need to reach for patterns that help us reason about what we're asking our computers to do. In this article, I take a closer ...

  • API for extracting semantic image data - colors, faces, Exif data and more

    rubyflow.com 21 Nov '12, 10am

    API for extracting semantic image data - colors, faces, Exif data and more Posted by Cloudinary on November 21, 2012 — 0 comments This blog post describes a new cloud-based API that helps you improve your website using semantic information hidden in your user uploaded images. You can ...

  • My 2012 Mac setup for Ruby Development

    rubyflow.com 20 Nov '12, 7pm

    My 2012 Mac setup for Ruby Development Posted by kfaustino on November 20, 2012 — 0 comments I just bought a new Macbook Air and decided to share my setup for Ruby development with Mountain Lion Comments “ ” Post a Comment Comment abilities for non registered users are currently deact...

  • Active Record Identity Map

    rubyflow.com 20 Nov '12, 8am

    Active Record Identity Map Posted by gravis on November 20, 2012 — 1 comment AR Identity Map makes it easier to stub Model dependencies, learn how it helps to test your controllers with ease here Comments “ ” Wont IdentityMap be gone with Rails 4?rmoriz - November 20, 2012 09:41 “ ” P...

  • sportdb/console - Try sport.db w/ Interactive Ruby Console

    rubyflow.com 20 Nov '12, 8am

    sportdb/console - Try sport.db w/ Interactive Ruby Console Posted by geraldbauer on November 20, 2012 — 0 comments I've added support for the interactive Ruby console (irb) to the open sports database gem. Use irb -r sportdb/console and you're ready to go. Try en = Country.find_by_key...

  • How we autoscale our EC2 infrastructure

    rubyflow.com 19 Nov '12, 7pm

    How we autoscale our EC2 infrastructure Posted by oBeLx on November 19, 2012 — 0 comments This is part two of our Amazon blogposts which deals with how exactly we autoscale our infrastructure and what our plans are for the future. You should read Part 1 as well as it lays out why we w...

  • Daybreak: a simple key-value store for ruby

    rubyflow.com 19 Nov '12, 5pm

    Daybreak: a simple key-value store for ruby Posted by thejefflarson on November 19, 2012 — 0 comments Daybreak is an append-only-file key value store written in ruby with Enumerable niceties. Comments “ ” Post a Comment Comment abilities for non registered users are currently deactiva...

  • Parse Extensive Metadata from Images using ImageMagick (corrected gem name)

    rubyflow.com 19 Nov '12, 3pm

    Parse Extensive Metadata from Images using ImageMagick (corrected gem name) Posted by cavneb on November 19, 2012 — 0 comments A few days back I posted a link to a gem which used RMagick to gather extensive metadata for images. This has now been renamed to magick-metadata. After relea...

  • chruby: ultra-minimal ruby switcher

    rubyflow.com 19 Nov '12, 7am

    chruby: ultra-minimal ruby switcher Posted by postmodern on November 19, 2012 — 0 comments chruby is an ultra-minimal alternative to RVM and rbenv. chruby allows one to install rubies into /usr/local/$ruby , /opt/$ruby or ~/.rubies/$ruby , but install gems into ~/.gem/$ruby/$version ....

    Related:
    1. Refining Ruby blog.headius.com 19 Nov '12, 2pm
  • Glib-Eventable

    rubyflow.com 18 Nov '12, 3pm

    Glib-Eventable Posted by c00lryguy on November 18, 2012 — 0 comments glib-eventable is a helper gem for ruby-gnome2 applications. Instead of writing: class Window def initialize super signal_connect('destroy') { Gtk.main_quit } end end This allows you to write: class Window event dest...

  • How to speed up your test suite

    rubyflow.com 17 Nov '12, 8am

    When you practice test-driven development, most of the time you need to run only a small number of tests to validate your recent code changes. Unfortunately things change once you start refactoring. Refactoring models implicates your entire application. So in order to keep things from...

  • IChannel v1.0.0: A modern & flexible interprocess communication(IPC) primitive.

    rubyflow.com 16 Nov '12, 9pm

    IChannel v1.0.0: A modern & flexible interprocess communication(IPC) primitive. Posted by robgleeson on November 16, 2012 — 0 comments I just launched IChannel , a modern & flexible interprocess communication(IPC) primitive that can be used to send Ruby objects between a parent proces...

  • a redis-backed git server to replace gitolite

    rubyflow.com 15 Nov '12, 7pm

    a redis-backed git server to replace gitolite Posted by themgt on November 15, 2012 — 0 comments Pogoapp recently replaced it's gitolite server and automation code with a significantly simpler, faster set of redis-backed ruby scripts. If you're trying to scale up complex multi-user gi...

  • Why do engineers suck at finding the right jobs

    rubyflow.com 15 Nov '12, 5pm

    Why do engineers suck at finding the right jobs Posted by mattetti on November 15, 2012 — 0 comments Even though we live in a very lucky time for software engineers, most of us have a hard time building a career and picking the right jobs , read why we suck at that, my own experience ...