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.
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. [more inside]
Practicing Ruby goes open-access, 68 articles already publicly available with more to come.
First of all and most importantly: Enjoy the articles! [more inside]
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). [more inside]
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. [more inside]
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). [more inside]
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? [more inside]
themes_on_rails
I just released themes_on_rails. This ruby gem will add multi themes support to your Rails 3/4 application.
Make Yourself An Indispensable Developer
An article on everything you need to know about the business you work for to ensure you contribute meaningfully.
OS X Apps with Ruby: Part 2
The next post in the series about developing OS X apps with RubyMotion! If you don’t have a RubyMotion license, go get one, it comes with a 30 day money back guarantee anyway, then come back and read this and start your learning! OS X Apps with Ruby: Part 2
cql-rb v1.2.0 released
cql-rb, the Cassandra driver for Ruby, just reached v1.2.0 and now supports request and response compression, and tracing. [more inside]
git pretty-accept: Accept Pull Requests the Pretty Way!
A few months ago, I suggested the Simple Git Branching Model and Best Way To Merge A (GitHub) Pull Request to Hendy, our CTO. We were using GitHub’s pull request feature for our code reviews, and as great as that feature was, it was turning our git history into, sorry for the pun, spag-git-ti. With the Simple Git Branching model, I was hoping for a more linear, more readable git history, with visible feature branches that can be easily reverted. [more inside]
Routing Basics: Ruby on Rails for Front-End Developers
Miles Matthias, author of the book Ruby on Rails Explained for Front-End Developers, talks about Routing Basics in his guest blog post on RubyLearning.