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.
cache me, if you can
A caching issue, causing 10,000 API RPM. Tips to catch a common caching bug, I frequently see. Also, my most clever blog title for Oscars: cache me if you can
Sharing code between ActiveAdmin resources
Just published an article about sharing code between ActiveAdmin resources.
Traveler - easily embrace Traveling Ruby awesomeness
Just released Traveler, a nifty wrapper for Traveling Ruby
Tutorial: Hangman on ruby on rails on foundation on fontawesome
Just published a tutorial for implementing the Hangman game using Rails 4, Foundation grid and FontAwesome.
Understanding Bundler's setup process
How does Bundler make sure that your code can see just the dependencies that are in the Gemfile and nothing else? Let’s look into Bundler’s code to find out.
Building intention revealing Ruby on Rails helpers
I wrote about building intention revealing helpers in Rails on
Minitest with Watir-webdriver
A look at an actual browser running through your minitest tests.
Why doesn't my code work outside of Rails?
Have you received the NoMethodError exception? Here I discuss monkey-patching in Rails, what Rails has monkey-patched, and more.
Some Basic Ruby Tools for Sniffing out Errors
When you are searching out your codes state and need to experiment; it helps to have the right tools.
Is TDD Dead Part 3 Transcript Concise Version
Fast Feedback and Quality Assurance
Announcing Stoplight, a circuit breaker gem
I am proud to announce the first stable release of Stoplight! It’s like traffic control for your code. Stoplight implements the circuit breaker design pattern in Ruby. Use it to gracefully handle things that occasionally fail. Read more
Gem of the Week #8 - rails-erd gem - generate ER diagrams for ActiveRecord models
Hello, Over at the Planet Ruby the Gem of the Week series continues. #8 is the rails-erd gem that lets you generate entity-relationship diagrams (ERD) for your ActiveRecord models. Works not just for Rails but for “plain vanilla” ActiveRecord models too. Cheers.
Using the Registry Pattern in Rails
The Registry pattern is a way to look up collaborator objects without hardcoding their class names and initialization in the calling code. Here’s a way to apply this pattern in Rails.
Different Methods for Merging Ruby Hashes
A quick look at the performance/implications of merging hashes in Ruby
Rails 4.2 Free Lesson 4
Fourth Rails 4.2 lesson is now available
Set Intersection in Ruby
Set Intersection in Ruby is a post explaining what set intersection is and how to perform it using Ruby arrays or the Set object.
Following the Life of an HTTP Request in Rails
Ever wondered how an HTTP request goes from your webserver to the code in your Rails’ stack? Racked with guilt for not knowing Rack? In this series of annotations, we follow the route of a simple HTTP GET request through the Rails source, from the Application to the controller code.
A Glimpse at Tail Call Recursion
Writing more elegant code with methods that call themselves.
Rpush now supports MongoDB.
Rpush, The push notification service for Ruby now supports MongoDB as a data store.
Programatically getting batch status in Sidekiq Pro
A quick way to get batch status in Sidekiq Pro in bulk.
upgrade capybara-webkit to 1.4 and save your time
Have faster and more and reliable acceptance tests thanks to new feature in capybara-webkit
Easily set up a Rails VPS with Ruby 2.2.0 and Puma
Hosting your own Rails app with a VPS has never been easier. This two-part tutorial first guides you through configuring an Ubuntu 14.04 VPS with Ruby 2.2.0, then demonstrates deploying a Rails app with capistrano and Puma.
Put Your Models on a Diet
Would you like to have models which look more attractive? I wrote a short blog post about making models slimmer by getting rid of unnecessary responsibility to have more object oriented code. Read more here »
Starting my journey with Volt
Is Volt a good alternative to Rails? Read more
Rails 4.2 Free Lesson 3
Third Rails 4.2 lesson is now available