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
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
New command line feed for rubygems.org RubyGemFeed
With rubygemfeed you can simply type rubygemfeed at the command line to see what’s new on rubygems.org. You may also query whatever gem’s you’re interested in.
3 LIVE sessions already announced for La Conf 2013 in Paris, France
These live sessions will be performed right in front of us at La Conf - an unusual conference for Rubyists : Jeremy McAnally will be developing a new feature and releasing it to Github.com, Geoffrey Grosenbach will be performing a Peepcode “Play by Play” and Jon Leighton will be testing and merging pull requests for Rails. All live, only in Paris!
Asynchronous Airbrake delivery – avoiding latency in application response time
TL;DR Update airbrake-gem to last version and enable asynchronous delivery option to avoid latency in application response time. [more inside]
Unicode Whitespace Shenigans in Ruby
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 this as a springboard to launch into some Ruby whitespace shenanigans! Enjoy.
Define your own Number Base with basecustom.
A new gem empowers you to define numeric bases by any set of character(s). Here’s a usage video for basecustom Ruby Gem BaseCustom: Define your own numeric bases This allows for an infinite amount of base counting systems. Fun with ranges, music, and encryption. You decide.
A wafer-thin Ruby wrapper for accessing Nokia's Here Maps API.
A wafer-thin Ruby wrapper for accessing Nokia’s Here Maps Places API.
Rails 4.0 Roundup
A list of useful resources to know more about the upcoming Rails 4.0
worlddb/console - Try world.db w/ Interactive Ruby Console
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! 'en'; en.regions; en.cities or euro = Tag.find_by_key! 'euro'; euro.countries and so on. More info. Live demo. Cheers.
An Interview with Yukihiro “Matz” Matsumoto
A week ago I went to Shanghai, China to attend and to give a talk at RubyConf China. The day before the conference’s first day a bunch of us were invited to a VIP dinner where we met with Matz and got to play with a device running MRuby. And I heard that earlier on that day Matz was ‘adopted’ by a book publisher to do an interview. [more inside]
Gem 'css_grid' is compatible Rails 2
I worked to make my gem ‘css_grid’ compatible to Rails 2.x This was a little painfull and I was wondering how many still use Rails 2.x ? [more inside]
Rails acceptance tests coverage
If you ever wanted to know how full your Rails acceptance tests are, here is the solution: the rspec-routes_coverage gem. [more inside]
Controlling "random" behavior in Ruby
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.
Hats are obselete: Ruby Secret Santa assignment script
Christmas, as 2 solid months of in-store nostalgia have ensured we know, is coming soonish. [more inside]
Model-like validations in any class
I just published lightweight gem pseudo_model. It implements ActiveRecord::Validations to any class you want. See Readme for usage example.
Build your own Heroku on your own servers
We just launched Cloud 66 into private beta to help RoR developers host, manage and scale their apps on their own servers in less than 10 minutes. Try it out
sorting_table_for - table builder made to easily create and sort a table
sorting_table_for is a Rails table builder made to easily create and sort a table. The syntax is simple to write and easy to read. [more inside]
Jeff Casimir: How to avoid the tar-pits of ruby localization
In this Ruby Hangout, Jeff Casimir of JumpstartLab talks about: The tar pits of ruby localization, Writing better code, Fixing magic data and White labeling your app.
Rails 3.2.9 through associations issues
Recent 3.2.9 release bugfix has brought an issue for through associations. inverse_of usage can solve the problem only partially (polymorphic associations are still affected). [more inside]
Ruby 2.0: Enumerator::Lazy
Ruby 2.0 will have a new feature called Enumerator::Lazy and, if you don’t know it, you should read this post.
Receive payments with Stripe
Last week’s tech blog post: Receive payments with Stripe.
API for extracting semantic image data - colors, faces, Exif data and more
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 use Cloudinary’s API to retrieve Exif data, coordinates of detected faces, predominant colors and color histogram of your uploaded images. Ruby sample code included.
Metro a 2D Gaming Framework for Gosu
For the past month I have been busily working away on 2D Framework that enforce common conceptual structures and conventions making it easier to quickly generate a game. The product of which I call Metro. [more inside]
A Year of Data at Engine Yard
Check out what Engine Yard has been up to this year in the data realm, including Posgres 9.2, Riak and more!
Chef Test Part 1 - Blog Post
I just posted part 1 of my chef testing series using Jenkins, Vagrant among many others… Chef Test Part 1