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.
Getting nice bash aliases with Ruby
I just published a tiny post about how getting nice bash aliases with Ruby.
Programming languages worth learning
An interesting blog post discussing briefly the most influential/interesting/practical programming languages.
Assertive Expressive 1.7.0: Better Integration API
Just released a new version of AE, aka Assertive Expressive, a modern assertions system that can be used with any test framework. This release improves the API by moving AE’s Assertion and Assertor classes into the AE namespace where they belong. It also improves how test frameworks tie into AE, doing away with the use of Kernel extensions for the purpose, and utilizing a toplevel constant (Assertion) to dynamically reference the exception class used by a test framework to raise assertion errors.
How we shaved 2 seconds off our Rails start up time
A bit of ruby-prof spelunking on our rails 3 application paid dividends.
Automated Backups With rdiff-backup
I got this working in 5 easy steps and so can you.
Padrino 0.9.25 Released: Slim and Erubis, Caching, and Fixes
Padrino is a framework of helpers for building powerful webapps upon the Sinatra webapp library. And now, the Padrino team has just announced Padrino 0.9.25 which, it seems, is a more significant release than the point update implies. Updates and improvements include the all-new “Padrino Cache”, full support for Erubis and Slim rendering, support for unobtrusive JavaScript handlers, and a revamped routing implementation.
A (successful) git branching model
Rodrigo Flores from Plataforma presents a (successful) git branching model.
Owning Rails: Marc Andre Cournoyer's Rails Masterclass
Marc Andre Cournoyer (of Create Your Own Programming Language and Talker fame) has unveiled his “Owning Rails” masterclass. It’s going to be in May and costs money but should offer an awesome, intensive Rails learning experience. You can find out more at OwningRails.com too.
NextMuni gem released
I’ve just released the NextMuni API gem. It allows you to access San Francisco bus information provided by the NextMuni service. Use it to add real-time bus schedules to your ruby application.
Ruby HTTP client performance shoot out
I have compared the performance of all major ruby http libs here. I also added tests with apache bench, httperf and java.
Simple Resque Mail Queue
A really simple module to easily enqueue mailers in resque
Convert a Ruby Method to a Lambda
I just published a post about how to convert a Ruby method to a lambda (and why you might not need to).
Filetype, find a files type via its name or extension
I just launched Filetype. An extremely simple library for returning a file type from a file name or file extension. [more inside]
locale_data, translations for country and language names in .yml files
I just released locale_data, a library of .yml files containing translations of all country and language names in over 100 languages that you can use to localize your apps. Read more about it on this blog post.
Adding new resource with ajax and facebox
I wrote tutorial extending Railscast 258. I described how to add new resource with ajax and facebox: http://slawosz.github.com/2011/04/26/add-new-resource-with-ajax/
How We Migrated to Terremark’s Cloud, Part I
Dan Peterson offers a detailed technical rundown of the process and tools involved in migrating customers to a new infrastructure provider.
inline_testing
I’ve released inline_testing, a gem which does just that. Be sure to check out this article explaining what it is and how it works and you can see the Gem or the GitHub repo.
rails-footnotes 3.7.1 has been released.
Before & After hooks have been added for each controller. See README Hooks chapter. Read more…
MongoDB as a Key-Value Solution for Logging Events Data
Altoros walks through their experience selecting a key-value solution for logging events data.
Enabling jQuery support in RubyMine
Are you using RubyMine and wish you’d have instant code completion suggestions and navigation for jQuery? Here’s an efficient way to enable jQuery support in RubyMine in just 3 easy steps.
easy edge rails
A slightly different approach at installing edge rails, because some people at RI were having problems. This should be an easy one-shot way to get a new RVM sandboxed edge app
Searchub - Filter your Github Dashboard!
Introducing Searchub - a bookmarklet for filtering your Github dashboard entries. Too many watched projects? Can’t keep up with what’s going on in the most interesting ones? Here’s your solution!
How to recover from the recent AWS outage on Heroku
Our social commerce application Trol.ly has been out owing to the massive Amazon Web Services outage. We finally got back online after hacking a bit. Thought I’d pen down these steps that might help someone out there.
My talk at RedDotRubyConf 2011: Benefit...
My talk at RedDotRubyConf 2011: Benefits of using MongoDB: Reduce Complexity & Adapt to Changes