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.
Investigating the State Ruby Api Developer Tooling
I wanted to improve the tooling around APIs I have been building. As part of that I dug into the current state of Ruby API tooling available.
How do I test an application_controller on a rails app
Mauro George wrote his testing practices when working with application_controller on Ruby on Rails app. Check it out here.
Culling ActiveRecord Callbacks
I wrote a blog post on how I’ve grown skeptical of using the ActiveRecord Callback events in my day-to-day work on Rails apps. Check it out here.
Optimizing Web Font Rendering Performance
A hands-on look at how to measure web font latencies and optimize their use: transfer latencies, time of initial fetch, and interaction with the critical rendering path. Plus, an under-the-hood look at some of the upcoming optimizations in Chrome: font timeouts, faster fetches, and support for Font Load Event API.
RubyConf Uruguay 2014 CFP
RubyConf Uruguay 2014 is here and we have big plans but we need your awesome talks. Our CFP is open. Feel free to send a proposal.
The Willfully Ignorant Development Process
Wouldn’t it be nice if you could write code without making concessions to reality? You can! Well, for a little while, at least. But even then, I think it’s worthwhile.
Onboarding developers to your Rails app sucks
Ever struggled to get someone else’s Rails app working locally? Onboarding developers to Rails apps suck (and how to make it better)
A Home For Enterprising Developers
A retrospection on launching a business/not overly technical blog aimed at developers. Read about the impressive starts after one month in this post.
The Free World Beer Book (1000+ Beers, 1000+ Breweries) Built w/ Ruby Gem (beerdb)
Hello, The beer.db - a free open public domain beer, brewery n brewpub dataset - now includes Ruby templates and scripts that let you build a complete book. See the “The Free World Beer Book” (PDF w/ 100+ pages) live or the all-in-one HTML page version. Still a little rough but always adding more beers and working on improving the layout/design. More info at the project site. Cheers! Salud! Prost! Kampai!
Write flexible menu for your rails project
In almost every project, there’s either a menu or breadcrumb that never really new how to build one efficiently. Sure I knew about the gems and I had an idea of an implementation. But until my latest project, I wasn’t satisfied. Read more
Practicing Ruby goes open-access, 68 articles already publicly available with more to come.
First of all and most importantly: Enjoy the articles! Read more
Phusion Passenger now supports the new Ruby 2.1 Out-Of-Band GC
The new Ruby 2.1 out-of-band garbage collector drastically improves performance and reduces response times. Phusion Passenger already supports it 1 day after it was announced.
Lifesaver 0.2.0 has been released!
The next version of Lifesaver has been released, changing the callbacks to use the after_commit hook.
A Guide to the Ruby CSV Library - Part 1
A post on SitePoint describing how the CSV library in Ruby works.
Change data in migrations like a boss
Update data in migrations without caution. Check out the post.
Testing Network Services in Ruby Is Easier Than You Think
You’ve started a new project and it’s time for your code to depend on a third-party service. It could be something like ElasticSearch, Resque, a billing provider, or just an arbitrary HTTP API. You’re a good developer, so you want this code to be well tested. But how do you test code that fires off requests to a service that’s totally out of your control?
Parsing date intervals from strings
I needed to generate dates from a given string so I could easily create calendars for one of my sites (I didn’t want to create a form to add each date individually). Read more
A workaround for testing controllers in Rails 4 engines
Testing controllers in Rails engines with RSpec requires you to jump through some hoops. If memory serves, it was slightly trickier in Rails 3 than it is now in Rails 4. Fortunately the fix is pretty easy, if not obvious. Find out how here
Customizing Google Chrome - Part 1 of 3
As a developer I often need to switch between multiple environments with the same url. This usually involves cutting and pasting a url into a new tab then changing the domain. Knowing that Google Chrome allows you to easily write extensions that can interact with web pages I decided to see if I could make my workflow a little bit easier. The goal of this minor project was to be able to change just the domain part of a url from a right click in a Chrome browser. A Custom Google Chrome Extension…
Refactoring Rails Views with SimplestView
The Rails Way to handle views is one area that quickly grows unwieldy in larger projects. I’d like to share how I use SimplestView to clean up my views, and their corresponding controllers and helpers. Check it out!
Reading Rails - Errors and Validators
Are you a curious developer? I sure hope so. Read more
Omega on FLOSS Weekly
I invite everyone to checkout today’s episode of the FLOSS Weekly podcast which featured the The Omega Universe Simulator (based on Eventmachine and the Ruby JSON-RPC library RJR). Read more
Easy to search rubygems from web - HandCooler
HandCooler, easy to search rubygems, easy to check readme, easy to compare code. This is yet another rubygems.org.
La Conf Paris 2014 - Early bird tickets available!
With two action packed days including a gastronomic cruise on the river Seine, lunch in a Parisian brasserie, not to mention talks from André Arko, Ashe Dryden, Bryan Liles, Hampton Catlin, Brian Shirai, Joanne Cheng and Rachel Nabors, can you afford to miss this event? Read more