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.
A Hint of Hubris
Larry Diehl posts on how to leverage Haskell in your Ruby code, and the other way around.
Fun with active record
I’ve recently been working on a feature that required UNION’s, locking, and much more.
Chapter 4 of "Ruby Best Practices" released
Over on the RBP blog, you can download Chapter 4 of “Ruby Best Practices”. Article also links to downloads of the first three chapters as well. Readers are encouraged to leave comments, in preparation for the book’s open source release in March, 2010.
RubySlide.com
RubySlide.com, inspired by RubyTu.be, gathers all the latest Ruby slides and presentations in one convenient place!
LA Ruby Conference: Luigi Montanez on Civic Hacking
LA Ruby Conference: Luigi Montanez on Civic Hacking — How can Ruby change cities, states, and countries for the better? Luigi Montanez’s upcoming presentation at the LA Ruby Conference discusses how cities, states and countries can be changed for the better with the development of civic-minded applications.
Twilio on Rails = Trails
Trails is built using the Twilio Ruby Library to make it easier to integrate the Twilio API into a Rails application.
Using Duby + JRuby for Fast Prototyping of Fast VST plugins
I’ve been working on JRuby/Duby interop to implement VST audio plugins. The first working plugin is a LP/HP filter (with cutoff and resonance). JRuby is used for declarative stuff, while Duby is used for computation intensive stuff. The combination gives an interesting Ruby-tasting audio programming experience.
Efficient ThinkingSphinx Testing with Test::Unit
After a year of fiddling around with different testing solutions for Sphinx, and getting frustrated with problems related to transactional fixtures and primary keys overflowing 32-bit-sphinx (not to mention the overhead of starting and stopping the daemon), I finally settled on a subclass of ActiveSupport::TestCase and a custom rake task. Read the writeup
TextMate shortcuts you should be using
I just posted a short list of most overlooked but very useful keyboard shortcuts in TextMate. See what you’re missing: TextMate shortcuts you should be using!
Netzke live demo updated: the window widget
The netzke-demo project has been updated with a live demo of Netzke::Window. Netzke is as framework that greatly facilitates creation of reusable ExtJS/Rails components.
Atlanta Ruby User Group Presentations Posted
This month we had several presentations concerning deployment: Matt Todd presented on Multi-app, Variable load deployment. We had a Chef vocabulary lesson, as well as a fairly detailed Chef walkthrough. Steve Touset created a gem for version stamping, and Adam Dill made the long trek from Alabama to tell us about Machinist - a tool that improves on factory girl… (He also brought the venerable Josh Adams for a personal visit)
Expurrel: a small gem that decodes short urls into long urls
I just launched Expurrel, a small gem to decode short urls into long ones. Supports about 200 short url providers. Read more about Expurrel here.
Fetching RSS Feeds With Ruby From Behind A Proxy
I was trying to fetch some RSS feeds with Ruby the other day. I just needed something quick to validate a couple of things I was trying out with Rails. However it seems that the Ruby ecosystem has this natural hatred for corporate proxies, it’s come to bite me time and time again. But I wasn’t giving up without a fight, so lets see what we can do about our proxy problems and fetch some feeds.
Inspectinator -- A parser for ruby inspect strings
Inspectinator – an online parser for ruby/rails #inspect strings. Still playing around with the parsing a bit, but should be mostly working. More details/feedback
Remote thumbnails with Heroku and Imagery
New blog post about creating thumbnails remotely for Harmony CMS, check it out here: http://lucidcode.co.nz/blog/archives/2010/02/09/remote-thumbnails-with-heroku-and-imagery/
Officer - Distributed Lock Server (Ruby & EventMachine)
I just launched Officer. It is a distributed lock server coded in Ruby and Eventmachine. It is useful for synchronizing processes across multiple servers.
Avoiding Rails 3 Dependency Hell With RVM
If you want/need to have both, Rails 3 and Rails 2.3, installed in parallel on your system you might want to read the latest blog post over on the railway.at blog to find out how you can avoid running into dependency hell by using Ruby Version Manager (rvm).
Monitoring file changes + Growl notifications
A solution to monitor file changes and getting growl notifications. With bits of Duby, too.
Deploying a Rails app in 10 minutes with Moonshine
Here’s a little talk I gave at SD Ruby about provisioning a bare server and deploying your Rails app with Moonshine in about 10 minutes. Video: http://jarinheit.com/a-talk-i-gave-at-sd-ruby-deploying-rails-apps … Slides: http://slideshare.net/jarinudom/deploying-rails-applications-with-moonshine … SD Ruby: http://sdruby.com
Got any ideas or suggestions for RubyFlow?
I’m going to be doing a little extra development on RubyFlow soon, so I want to get a feel for what ideas and suggestions you all have for it. I can’t promise anything but all ideas will be read and appreciated - just leave a comment here :-) Even if it’s a small design tweak or “leave it alone”, go for it!
Javascript + DOM in your ruby
The day has finally arrived where you can run a browser-less javascript + DOM environment from within Ruby. Harmony offers a convenient DSL that allows you to get started simply and easily. There is even a Rails plugin (holygrail) for functional tests. You can now leverage the power of the command line to do with JS what once required a browser.
/Reg/ against your machine
Pleased to report the grand release of a small command-line tool, regex, which makes for some pretty dirt-simple utilization of Ruby’s regular expression engine via the command shell. It can do single or repeat matches and output can be in plain text, YAML or JSON formats. Still pretty fresh off the block, but it’ll beef up in capabilities over time.
Happy Birthday Devise
Devise (a full authentication stack for Rails) reaches 1.0 after four months since its first release! Carlos describes in this post all features that were added along the way: authentication, HTTP Basic authentication, token authentication, registration, analytics, timeout, account locking, account confirmation, forgot password and many others, thanks to Devise modular architecture which allows you to pick just what you want.
Kansas City Ruby User Group presentation: Kyle Ginivan on Progressive Enhancement
Kansas City Ruby User Group’s February presentation by Kyle Ginivan on progressive enhancement, a strategy to make your webpages accessible and cross-device/platform.