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.
Keep Trying! Sending key path method signatures in Ruby.
Adding an Object#try_keypath to Ruby that allows you to safely send messages to to deeply nested object structures that may return nil along the way. Based on Object#try.
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.
The IMDB gem is back and working again!
With the support of the awesome Ruby community I’ve yesterday updated and released version 0.6.6 of the IMDB gem. Everything is back and working properly again. I’m accepting new features! [rubygems] [github] [rdoc]
How to - serving cross domain ajax requests from a Ruby app
I wrote a quick blog post explaining how to set your Ruby app to handle HTML5 cross domain ajax requests.
BostonRB September Videos - TDD
This month BostonRB focused on the latest and greatest TDD tools in Ruby Jeremy Weiskotten presented on the “big picture” of TDD Steve Klabnik presented on Minitest Ben Orenstein presented on FactoryGirl 2.0 Patrick Robertson presented on Capybara 2.0 Joe Ferris presented on Capybara-Webkit
Yesterday gem version 1.0.rc1 released
I just launched my gem Yesterday. The Yesterday gem lets you track changes made in ActiveRecord models. [more inside]
New RubyStack support Rails 3.1
We have just released a new version of BitNami RubyStack that supports Rails 3.1. BitNami RubyStack is an easy one-click installer for Windows, OS X and Linux. It is self-contained and independent so you can install it without modifying your system. You can also download Virtual Appliances or run the Cloud Images in Amazon AWS. [more inside]
Learning Ruby: Gotchas and Pitfalls
While learning Ruby I keep on stumbling about things that work differently than the languages I’m used to. This is a short list of gotchas I’ve encountered so far. Learning Ruby: Gotchas and Pitfalls
raad (Ruby as a daemon) 0.4.0 released
I just released version 0.4.0 of raad (Ruby as a daemon) lightweight daemon/service wrapper. raad is a non-intrusive, lightweight, simple Ruby daemon wrapper, now with seamless JRuby support! Basically a simple class which implements the start and stop methods, can be used as a standalone background process, with start/stop, pid file, logging support.
Using Goliath as an API proxy
How I used the Goliath server from Postrank to proxy API requests to Twilio on behalf of my app’s users.
Take a Ruby on Rails course from Rails Rookies
I just launched Rails Rookies. I’ve gotten a lot of requests for courses for Ruby on Rails. So, I’m now offering the most popularly requested courses. If you’re looking for a course on Ruby on Rails Basics, Testing Ruby on Rails, or more Advanced Ruby on Rails features, I’m offering courses on each. Go to RailsRookies.com for more information.
Mountable resque-web for rails 3+ apps
Why worry about a separate process when you can mount it… (set user and password!) Mountable resque-web
If You Can't Tie A Knot, Tie A Lot
New post on the Collective Idea blog discussing a knot metaphor and over-programming.
The Totally Unofficial Ruby coding style guide
I just launched a totally unofficial Ruby coding style guide, that might be of interest to some of you. Have a look at the initial revision and share your opinion.
Normal cookies inside IFrames for IE via P3P headers
In IE cookies inside IFrames are not the same as on regular pages, to fix this great security feature, this plugin delivers P3P headers to marked IE users and does not give them 304 headers. -> IE IFrame cookies plugin/gem