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.
How to use TaskJuggler to coordinate your open source project
TaskJuggler 0.2.2 just has been released. The formatting options for journals have been greatly improved. Blog-style reports of project progress and status are now possible. [more inside]
Hippo: Your friend for 5010
HIPAA 5010 can be quite overwhelming at first. The complexity the X12 people have fit into a simple flat file consisting a string separated by tildes is very impressive. However, now you have hippo. A DSL to create and read transactions sets in pure ruby! Hippo: your friend for 5010
A Fun Sinatra App to access the Google+ API
As part of the free, online courses being conducted on Google+ by RubyLearning, by popular demand, a blog post titled “How do I use Sinatra to access the Google+ API?” has just being published.
The Ruby 1.9 Walkthrough: A Thorough Screencast for Going From 1.8.7 to 1.9.2/3
After weeks of research and recording, I’ve released The Ruby 1.9 Walkthrough, a pay-for 3 hour screencast (it costs money, sorry!) that provides the most thorough and up to date tour of Ruby 1.9.2 and 1.9.3’s features if you’re coming from Ruby 1.8.7. If you haven’t yet taken the plunge and are wondering what’s new, what’s gone, or what’s just plain different, this is for you :-)
Isolated testing for custom validators in Rails 3
Arrr! A quick, talk-like-a-pirate-day-flavored article about isolated testing for custom validators in Rails 3.
Video Encoding with Uploadify, CarrierWave and Zencoder
I just finished a blog post outlining video encoding using Uploadify, CarrierWave, and Zencoder on a Rails 3.1 project.
Rails core_ext: Array extract_options
I just published Array extract_options in the Rails core_ext series.
Clean up your API using instance_eval
If you are writing an API (e.g. for a gem) then making use of Ruby’s intance_eval method can give your API a much more DSL-like syntax. Check out my quick into here: http://itshouldbeuseful.wordpress.com/2011/08/12/use-instance_eval-to-clean-up-your-api
Unobtrusive AJAX with Rails 3.1
AJAX with Rails, if you have some experiences with RJS in previous versions of Rails, then you will not see many differences when you implement AJAX in Rails 3.1. One different is you create template in pure javascript or coffee-script instead of RJS. Let’s see how we implement the application
ParseResource: a wrapper for Parse.com's REST API
ParseResource is an ActiveRecord-like wrapper for Parse.com’s REST API. This gem makes it easy for Parse users to build custom admin interfaces. You could even use it to power web apps and get iOS and Android interfaces for free. [more inside]
Lightning fast and zero-downtime Rails deployments with git, capistrano and unicorn!
I just wrote an article about how to setup a server with Nginx+Unicorn to achieve <10sec and zero downtime deployments.
Free, Git and JRuby related courses by RubyLearning on Google+
RubyLearning is offering FREE online courses hosted entirely on Google+. We’re doing a Git/GitHub course, a JRuby 101 course, and a JRuby Compiler course (if you want to learn how to compile Ruby code for the JVM).
Useful Regular Expressions in Ruby's URI Library
Ruby’s URI library contains a bunch of regex’s that come in handy occasionally: https://gist.github.com/1223928
Early this year Robert Jones wrote an aw...
Early this year Robert Jones wrote an awesome post: “Rails, UTF-8 and Heroku” covering the woes of character encoding in general and their relation to Heroku. [more inside]
Web Workings With Ruby - Data Transfer
I started a multi-part series on how web server/client communication works at a low level. It discusses how data is returned to the browser, and how the server gives more information about the data sent through headers. The plan for the series as a whole is to explain what is happening behind the scenes when the browser makes a request to a server. An important note is that code is purposely written with performance issues so they can be addressed in separate posts.
Nested Forms Using Handlebars.js
Since I realized I’m gonna use some client-side templating engine anyways, nested forms are much easier to build. The example uses handlebars, formtastic and slim, changing them is very straightforward.
Asset Sweeper Gem
Asset Sweeper This gem is for cleaning up rails application by removing unused images from application. [more inside]
SOLID Design Principles
This article I wrote about the SOLID design principles was one of the more popular issues of Practicing Ruby volume 1. Now that it’s publicly available I’d love to hear your thoughts on it.
google_plus gem
Google+ released a basic API, and the google_plus gem has been updated to use it
Managing Unicorn Workers with Monit
A walkthrough on how to manage Unicorn worker processes using Monit
Setting up Resque, Status, Retry, Multiple failure backend with Rails 3
While setting up the Resque and its couple of plugins, I’d ran across various difficulties to tie up the service together. So, I just documented it here as Setting up Resque, Status, Retry, Multiple failure backend with Rails 3 that might be of help for someone else.
Third party service hook integration for a non-github repo
I’ve created push_handler. It’s an easy way for a non-github repository to notify 3rd party services (like Campfire, Jira, Jabber, etc) that there’s been a push. [more inside]
Airplay 0.2.2
I just released airplay a simple client to communicate with Apple TV or any airplay capable device. It can send images, videos and music :D.
Cells Cheatsheet 1.0 released
Finally, we got a cheatsheet for Cells, Rails’ one and only view component and portlet framework.