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.
Wait, Chrome DevTools could do THAT?
Your browser is one of the most and best instrumented development platforms - you may just not realize it yet. Check out these videos to learn how to debug network, rendering, and javascript performance in Chrome, and also learn how to extend devtools with extensions, debugging protocol, and more!
Configure a GoDaddy domain with Heroku
I just wrote about how to configure a GoDaddy domain to point to Heroku.
Custom Wizard Urls in Rails with Wicked Gem
You’ve heard of the Wicked gem, that awesome library for making step-by-step wizards in Rails. Wicked just added the ability to use custom urls in your wizards. It’s simple, easy, and flexible check it out.
Ruby 2.0 today with BitNami Rubystack
The next major Ruby release (2.0.0) is currently planned for February. A preliminary version (Ruby 2.0.0-preview1) has been made available by the Ruby development team in order to give developers a chance to test their projects with this version and see if they are “Ruby 2.0 ready”. [more inside]
Why Ruby Class Methods Resist Refactoring
I just wrote a blog post about Why Ruby Class Methods Resist Refactoring, the implications, and what you can do about it.
JRuby at OpenFeint - a JRuby migration success story
JRuby at OpenFeint - a JRuby migration success story
Rails 4 compilation links
Curated compilation of interesting links. I encourage everyone to help making this grow and by giving a look at the links start guides about specific topics
Gosu-Keyboard - An easy DSL for handling keyboard events in Gosu
gosu-keyboard - A DSL for easily handling keyboard events within a Gosu::Window. [more inside]
rspec-rails and capybara 2.0: what you need to know
I blog about some changes coming down the pipeline in capybara 2.0.
Cleaning the worst CSS files with relative ease
We have all seen them. Those really nasty CSS/SASS files that “someone else” wrote. Here is a gem I wrote to take those nasty files and clean them up. It reworks the CSS to remove duplication and keep it as DRY as possible. A Live version can be found here. or the source downloaded from github.
Convenient Trick for Tolerance-based Test Assertions Using #ish
How to enable the #ish syntax to ease the writing of automated Ruby system and integration tests that rely on fuzzy or tolerance-based assertions.
lazy_mail - A lazy and quick way to use the function mail
I write the gem ‘lazy_mail’ who provide lazy and quick way to use the function mail and offers configurations to write less code. [more inside]
Parse Extensive Metadata from Images using RMagick
I wrote a gem which parses extensive metadata from images using RMagick. Check it out at https://github.com/cavneb/rmagick-metadata
Phusion Passenger Enterprise - Nedap Healthcare Case Study
In this case study, we see how the $100MM annual revenue Nedap Healthcare uses Phusion Passenger Enterprise to serve over 150,000 clients in the healthcare sector per day and billions of requests.
Taking Sass to the Next Level (with SMURF and @extend)
Blogpost about some advanced uses of Sass for writing better, more modular frontend code. The first part gives an overview about SMURF, which stands for Scalable, Modular, reUsable Rails Frontends and is an effort to implement the SMACSS approach using Sass (& Rails). The second part of the post talks about lessons learned on the correct/sensible usage of Sass’s powerful but dangerous @extend functionality. Read more
Gem 'css_grid' -> helpers to use collections easily
This gem provide a css grid stylesheet, which you’r not force to use, and severals methods to create correct HTML when working with collections. [more inside]
Gistie is a rails based, git backed(gist) pastebin webapp
more about Gistie on github
Being for the Benefit of Future Developer
A software project passes through the hands of many different developers in its lifetime. How can we keep our project prepared for the future teams of developers that will inherit it?
Collecting a list of Colleges/Universities that teach Ruby and/or Rails
If you know of any please take a moment to list them [more inside]
How do you check whether a date is in a date range?
We all know (start_date..end_date).include?(this_date) is quite slow. If you have seen Ben Orenstein’s talk about refactoring, you might know (…).cover? is much faster… but is it fast enough? [more inside]
Tired of copying FactoryGirl sequences from project to project?
Take a look at the factory_girl_sequences gem, which provides a basic set of the most common sequences. [more inside]
"System" Gem Back Under Development
It has almost been 3 years since the system gem has last seen a git commit, but the project is now back in development! [more inside]
Making RABL and your Ruby APIs Fast
RABL is one of the most popular and easiest ways to craft high quality APIs in Ruby as used in large projects like Spree and foreman. As RABL’s popularity has grown, I often get questions about improving performance of APIs as the volume of traffic for the web service increases. I released a helpful guide that covers this question in detail called RABL in Production. If you have any other thoughts or questions, please feel free to raise an issue or help improve the article!
sport.db JSON(P) API Sample w/ Sinatra - Football Fixtures Web Service
I have created a little JSON/JSONP API service for the open sports database (that is, sport.db) using the Sinatra Ruby gem. For example, /event/en.2012_13/round/2 gets you the football fixtures for the 2nd round of the English Premier League (season 2012/2013). See the Sinatra single-file source or the start page for more info. Cheers.
Concurrent "Hello, world" with Celluloid
Tutorial-like blog post about Celluloid, Ruby’s Actor library.