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.
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.
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.