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.
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.
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
[survey] Cluster Analysis on the Ruby Ecosystem
Dear Ruby Developer, [more inside]
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
Creating and using modules in Rails
Crowd Interactive’s Tech Blog Post: “Creating and using modules in Rails”. Written by Heriberto Perez (@heridev)
My 2012 Mac setup for Ruby Development
I just bought a new Macbook Air and decided to share my setup for Ruby development with Mountain Lion
yield-gotcha every Ruby developer should be aware of
Using yield and blocks is what makes Ruby so different from other scripting languages. But in some cases yield can lead to unpredictable behavior and it’s crucial to understand what can go wrong. http://railsware.com/blog/2012/11/20/yield-gotcha-in-ruby-blocks/
sportdb/console - Try sport.db w/ Interactive Ruby Console
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! 'en'; en.teams.all or mun = Team.find_by_key! 'manunited'; mun.games.all and so on. More info. Cheers.
Active Record Identity Map
AR Identity Map makes it easier to stub Model dependencies, learn how it helps to test your controllers with ease here