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.
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. Read more
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
Heroku's intermittent down-time (Work around)
ror-e.com was recently affected by heroku’s down time. Read more
Rollable, pun intended agnostic roles for rails!
Figured I’d make a gem, following up my last post. If you liked it, make sure you check out this article on the gem. If you liked the code, check out the github link in the article :-)
rails_best_practices 0.8.0 released
I just released rails_best_practices 0.8.0, it supports simplify render in views check and simplify render in controllers check, and fix a few bugs, see more here.
Code with me – for free!
2011 has been a good year for me so far – financially as well as in terms of cool work in general. I feel like it’s time to share some of that luck with others and spend a couple of hours per week working pro bono, helping people. Read the blog post for details and spread the word. :-)