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.
0-60: Deploying Goliath on Heroku Cedar
Heroku’s new Cedar stack allows us to deploy any ruby app to their cloud! Which means, we can now deploy async Goliath Ruby apps with near minimal effort: streaming API’s, async API endpoints, etc, all without any of the callback mess!
Ruby one-liners
I published a Ruby version of the 10 Scala one-liners examples that circulated in the past couple of days.
Looking for RubyGems 1.8.5 breakage
Now that SlimGems has been released, it’s clear that at least some folks are fed up with RubyGems. This is in part because RubyGems 1.4.0->1.8.3 have been full of nasty surprises and breakage due to poor communication. What I want to know is what is still broken on RubyGems 1.8.5, so that I can investigate and try to help get it fixed!
RoleUp - A CanCan Extension Gem
Easily clean up your authorization rule definitions in any Rails project where you’re using CanCan.
More User-centric Routes: Rails 2
Learn how to change your Rails routes for a logged in user. Now that we can write user-centric routes in Rails 3, this blog post shows how to get the same result in Rails 2!
Learn Ruby programming for free
RubyLearning is in its 6th year and to celebrate its 25th Ruby programming batch, RubyLearning is offering this seven week course free to 25 participants. For details refer the blog post.
Rolling roles on rails
Just released rollable version 0.1.0. Now with helpers for setting and getting roles. Enjoy!
SlimGems, a drop-in replacement for RubyGems -- now available
gem install slimgems
Read This Before Installing Rails 3.1
Detailed (and current) instructions on how to install Rails 3.1. Suggests upgrading to RubyGems 1.8.5 and Rake 0.9.1 (and shows how). Points out a problem with “gem install rails –pre”. With other surprises, advice, and troubleshooting tips.
ruby extension to get informations about network interfaces
I just ported python netifaces extension to ruby , it is available here netifaces ruby extension , it has also been merged with pcaprub in metasploit.
Be a Better Storyteller
One of our guys posted his thoughts on better way to phrase user stories.
GemAWeek Episode 1 - Geocoder
I just posted the first episode of GemAWeek where I do a screencast on one gem every week. Check it out and leave a comment for me
More concurrency on a single Heroku dyno with the new Celadon Cedar stack
With the introduction of Heroku’s new stack called Celadon Cedar, it is now possible to dramatically improve throughput by adding more concurrency to a single dyno. Check out my article to find out how!
There's a new Radiant 1.0 Release Candidate out
gem install radiant --pre and try out the RC2. [more inside]
Pluralizations and Singularizations (Inflections) in Rails 3
New Blog Post: Pluralizations and Singularizations (Inflections) in Rails 3
Checking form submissions with Cucumber-Nagios
New Blog: Checking form submissions with Cucumber-Nagios.
Migrating my blog to Rails 3.1 Beta
I just launched an article about my initial taste of Rails 3.1 upgrading my blog. There were a few gotchas but overall a less difficult operation than I expected.
Using DataMapper and Rails with Legacy Schemas
Piotr Solnica of Code Benders walks through setting up a Rails app that uses DataMapper as the ORM, and how to configure your models to work with a legacy schema.
Rails Admin Interface Generators
I just published a post comparing three Rails admin interface generators (Typus, ActiveAdmin, RailsAdmin).
Using RVM to Install Rails 3.1: Best Practices
Installing Ruby and Rails from scratch can sometimes be problematic, specially for beginners. [more inside]
User-centric Routing in Rails 3
Rails 3 has a few new (and largely unknown) routing tricks up its sleeve. This blog post shows you how to use advanced routing constraints as a clean way to present more meaningful content to your users.
Unpatched is a convenience library, like...
Unpatched is a convenience library, like ActiveSupport or extlib, but without a single monkey-patch. It is also an API experiment.
Establishing release management policies for RubyGems
Last week I promised that I’d follow up with Eric and Ryan about RubyGems release management. I’ve now done that, and am very happy with the results. Check out my meeting notes for details.
MacRuby notes series: code snippets in Xcode 4
If you use TextMate’s “code snippets” feature to insert commonly-used templates of Ruby code, you’ll be pleased to see that Xcode 4 has a similar facility for MacRuby. It comes pre-populated with a variety of Objective-C snippets, but it’s easy to add your own Ruby snippets.
A screencast on How Rails Boots
BigBinary.com published a screencast on How Rails Boots .