Essence and Artifact: The (Sad) State of Concurrency in Ruby 1.9.2
A Treasure Chest of Rubyisms: Web Workings With Ruby - Concurrency Part 2
Amazon Cloudfront, Nginx and the Rails Asset Pipeline
Tutorial: OS X automation with MacRuby and the Scripting Bridge
LESS Is More - Using Twitter's Bootstrap In The Rails 3.1 Asset Pipeline @ MetaSkills.net
elcuervo/airplay …
Yuki ' yugui' Sonoda on Ruby 1.9.3
At RubyConf Taiwan (held August 26-27, 2011), core team member Yuki ' yugui' Sonoda gave a talk called Ruby 1.9.3 and Ruby 1.9 Development which outlined her current thinking on Ruby 1.9.3, Ruby 1.9.4, and Ruby 2.0. It's not very long and worth a watch.
You can watch the video on Vimeo or see the slides on SlideShare. Alternatively, you may see the video embedded above.
Yugui's …
#284 Active Admin - RailsCasts
Lighting fast, zero-downtime deployments with git, capistrano, nginx and Unicorn - Ariejan.net
Rails 3.1 Asset Pipeline, Content Delivery Networks and Rack::Cache - Jack Chu
Bare-bone, stripped-down Devise | Plataforma Tecnologia Blog
Peter Marklund's Home : Course Material for a Two Day Introductory Ruby Course
Heuristic …
…a harder problem than simply testing code you write using Ruby. To account for this, mspec does all sorts of neat things, allowing tests to be restricted to particular versions, implementations, and even specific patch levels of different Ruby packages. Another interesting aspect of mspec's implementation is that because it's designed to help Ruby implementers test their work, the code for implementing the testing framework intentionally uses a minimal subset of Ruby functionality. …
New Features
Add header reference methods to Mechanize::File so that a reponse object gets compatible with Net:: HTTPResponse.
Mechanize#click accepts a regexp or string to click a button/link in the current page. It works as expected when not passed a string or regexp.
Provide a way to only follow permanent redirects (301) automatically: agent.redirect_ok = :permanent GH #73
Mechanize now supports HTML5 meta charset. GH #113
Documented various Mechanize accessors…
Bonus Features
This simple script actually gives me things I didn't have before — rsync can be run in dry run mode, which allows me to see what will happen before I commit to deploying. I can tag each deploy in git if I want, then easily switch between versions. It's also easy to see where a deployment fails, because I can see the line in the script and look at the command.
Tools like Bundler make library management on the remote server much easier. I also write package.json …
…other processes which load the exact same code. Threads are notoriously tricky to get correct so girl friday uses Actors for the equivalent behavior in a simpler and safer API.
I have issues with the other contenders in the space:
delayed_job - stores jobs in your RDBMS and polls for jobs which is a terribly unscalable idea. Spins off processes instead of threads.
resque - forks a new process for every message. Safe but memory hungry.
The biggest caveat with girl friday is …
Intro
A few years ago I integrated Twitter with a Ruby application, mainly to display a subset of my timeline.
Later I added the ability to post tweets. All this became possible using Susan Potter ‘s "most-excellent" Twitter4R gem.
Back in late 2010, Twitter upgraded its API from simple id/password authentication to OAuth authentication. The Twitter4R gem was then also enhanced to leverage the OAuth-Ruby library. …
Goliath: Architecture & Features
At its core Goliath is an app server like Mongrel or Thin - it is built around a Rack API - but due to its fully asynchronous nature it is also not a direct substitute. Instead Goliath is both an app server and a lightweight framework designed to meet the following goals: fully asynchronous processing , middleware support , simple configuration , high-performance, and arguably most importantly, readable …
…language - but what fun would that be? For the curious, Ruby 1.9 Pickaxe is probably the single best resource to get yourself up to speed. To give you a flavor, below is a list of my favorite 30 tips, tricks and features - feel free to clone the gist and add your own!
New Ruby 1.9 Features, Tips & Tricks
In case you can't preview the gist: direct link , or see the raw file .