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.
Using Vulcan to Build Binary Application Dependencies for Heroku
Build custom binaries for use on Heroku with the Vulcan build server. Learn how to create your own build server, remotely compile common system binaries, and vendor them into your application.
Videos of BostonRB July Talks - Loren Segal and David A Black
For Boston Ruby Group’s July Meeting, Loren Segal came down to Boston to show us “Five Things You Didn’t Know Your Documentation Tool Could Do” and David A Black presented “The Well-Grounded Nuby”
Ruby Patterns: Method with options
I’ve just wrote a blog post about the Ruby Pattern method with options and good practices about how to use it.
Your Face in 10 minutes...with Macruby
I just blogged about my GoRuCo 2012 (Gotham Ruby Conference) microtalk. I had a blast giving and preparing for the talk. Hope you guys enjoy it. Links to code, slide, and video of the talk are in the blog post. Enjoy! :)
ERR unknown command blpop for Resque, Redis and Rails
I just posted small note on how to fix “unknow command blpop” for Resque, Redis nad Rails. You can check it out here.
active_record_uuid 0.2.0 is released
I just released active_record_uuid to 0.2.0. Please try it out…
return values from fork: fork_and_return
revert any side-effects like require or memory leaks and still get a result fork_and_return
data-writer - A gem to write to DATA
As most of you probably know in Ruby you can tell the interpreter the source file with the line: END [more inside]
Sportbook - Open Source Sports Betting Pool Ready for 2012/13 Football Season (in Rails 3.2+)
Now that the European Football Championship (aka Euro 2012) is over I’ve reconfigured the Sportbook app with new game fixtures for more fun in the upcoming football season. You’re welcome to add your own game fixtures or host your own pools. Example events include Austrian Bundesliga 2012/13, México Primera División Apertura 2012, World Cup Quali 2012/13 and others. More info. Cheers.
CKEditor and Rails
I just wrote a post on how I integrate CKEditor with Rails using the ckeditor gem, and also some custom tricks I did. See it here.
Download Flash Video (flv) files from web-sites
In a fit of Flash-induced rage, I created flv-dl, which allows one to download or play Flash Video (flv) files from their web-pages, directly from the command-line. [more inside]
Roadmap for Rails Apps Composer 2.0
Rails Apps Composer is a gem with recipes to create Rails application templates you can use to generate Rails starter apps. I use it to create the app templates and example apps for the RailsApps project. It’s become popular (over 500 watchers on GitHub). It’s a lot like Michael Bleigh’s RailsWizard or Dr. Nic Williams’s App Scrolls. If you’ve used the gem, you can take a poll to let me know if it has been useful and suggest any improvements you’d like to see. Here’s the Roadmap for Rails Apps Composer 2.0.
Rails Deployment Audit
Checklist with some practices for Rails Deployment Audit.
UT on Rails: Week 5 Controllers
Follow along with my University of Texas class as I explain what controllers can do and show some common uses.
My experience with jQuery Mobile and Rails
I recently had to create a light mobile version of an existing Rails 2 app. Having used jQuery Mobile for that I tried to compile my different observations on the experience. You can read it on the cookies blog.
How Does Rack Parse Query Params?
Noah Gibbs recently wrote about understanding parameter parsing in How Does Rack Parse Query Params? With parse_nested_query.
Boot Up Your Own Dedicated Jenkins CI in Two Commands
One of my pet projects has been: how quickly and simply can I boot Jenkins CI on to Engine Yard Cloud? I now have it down to two command line steps! Check it out here!
Rails Asset Pipeline with Heroku
I wrote a 2 parts series on how I precompile assets locally and deploy to Heroku. [more inside]
Test your rabl view
If you use Rabl to generate your API output. You need test this generation. This blog post explain how I test my rabl’s view.
json_expressions - JSON matchmaking for all your API testing needs.
Your API is a contract between your service and your developers. json_expressions makes it easy to test/spec your JSON responses. This helps you to keep track of exactly what your JSON API is returning, and makes sure you don’t accidentally break the contract without updating the docs and/or bumping the API version number.
Localization early-adopter plans now available
Locale is an agile localization tool for Ruby developers. It means no more hand-coding of yaml files, no more syntax errors, and easy collaboration between developers, content owners, and translators. Hundreds of Ruby developers have been helping out with the public beta of Locale, which ends on August 8th 2012. Beta sign-up is still open and grants access to special early-adopter pricing for a limited time.
Code Climate is now free for Open Source
Code Climate now provides free code quality metrics for OSS Ruby projects.
Git Basics: Cleaning up excess branches
Rails app repository getting out of hand? Learn how to clean up all that excess.
Don't Make Your Code "More Testable"
In this article I attempt to slightly redirect the focus of the community from “fast tests” to writing well designed systems by listening to the feedback coming from our isolated unit tests.