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.
Automatic Testing of REST Web Services with Rails
Testing REST web services has never been easy. It requires a running web server, multiple threads, network conection and complex transaction management. [more inside]
Yes, Nick - class methods are evil
My reply to Nick’s post about using class methods and how to avoid it.
Are Class Methods Evil?
Trying to figure out if class methods are evil, misused or just problematic when it comes to DCI. Please help me with comments (on the blog).
TaskJuggler: Manage your projects with Ruby and Vim
TaskJuggler 0.2.1 has been released with full Vim integration and a 3 - 5x speed improvement in the scheduler. [more inside]
Terminus: a cross-browser Capybara driver
I just pushed out version 0.3 of Terminus and gave it a spiffy new website. This is the first release since Capybara 1.0 and it supports almost all of Capybara’s capabilities. Plus it lets you run tests on your iPad, which is pretty sweet.
Rails development mode 300% faster
The bigger rails project the slower development mode. If it annoys you go and try ActiveReload by Robert Pankowecki. If you don’t believe just watch a video comparison
Codebrawl's contestants created some great testing libraries
For Codebrawl’s Ruby testing libraries contest, we had some great and unique entries. Want to find out who won? Read the contest rundown.
Benchmarking Enumerable
Over the weekend, I did some benchmarking of several Enumerable methods. Some of the results surprised me. They might surprise you, too.
Building Multi-tenant Rails Apps with PostgreSQL Schemas
In which I dig into the nitty, gritty details of implementing this multi-tenant strategy.
Cryptography Or: How I Learned to Stop Worrying, and Love AES
A new article by Phillip Gawlowski - Cryptography Or: How I Learned to Stop Worrying, and Love AES.
AWS SDK for Ruby
Amazon Web Services launches the official AWS SDK for Ruby, enabling developers to get started building scalable Ruby web applications in minutes. Read more here.
rails-footnotes 3.7.5 rc1 was released
rails-footnotes v3.7.5 RC1 has been released bugmash
Ruby 1.9.2p290 Released (A Summary of the Changelog)
Ruby 1.9.2p290 has been released but without any real explanation of what it’s all about, so I’ve written a summary of the changes and how to upgrade to it.
Help me give back to my community
This isn’t Ruby news but a call-to-arms. My local educational system is antiquated. I’m appealing to the local community college to let me teach a Rails course: I need your help.
Ruby DCamp registration is open
Ruby DCamp, now in its 4th year, is once again defying the traditional conference conventions. It’s your event. The schedule and sessions are decided on by all attendees on site. With an invitation code (see below), event, room, and board are free, as in beer, thanks to our gratious sponsors. Ruby DCamp is held in Prince William Forest Park, an hour south of Washington D.C. To register, you want to get an invitation code. Codes are being seeded through several RUGs. If your RUG doesn’t have any codes, ask about on Twitter and you will likely be able to obtain one. And follow @ruby_dcamp on twitter.
resque-async_deliver: Easily send emails asynchronously with Resque
resque-async_deliver allows you to simply change SomeMailer.a_message(args).deliver
to SomeMailer.async_deliver.a_message(args)
and the mail will be queued in Resque and delivered asynchronously. No need for custom jobs.
JRuby & JRubyConf 2011 Need YOU!
Charles Nutter walks through JRuby and JRubyConf developments made in the last year in hopes of convincing you to join him for the third annual JRubyConf coming up August 3-5 in DC.
Remove some boilerplate from your Rails migrations...
…by switching to Rails 3.1 and/or using the SlimMigrations gem :D
The Duck Talks again!
I just wrote about installing Oracle on Mac OS/X Snow Leopard.
Rails 3.1 HackFest
Have you ever wanted to contribute back to Rails? This is the opportunity you’ve been looking for. The Rails core team is organizing a Rails 3.1 HackFest on the weekend of July 23rd and 24th!!!
rack-parser: Rack Middleware for parsing post body data like JSON or XML
I just launched rack-parser: a rack middleware for parsing post body data whether its JSON, XML or any various content types. This is useful for building API’s that need to accept JSON or XML data. Check it out!
Screencast: Create a ‘Like’ or ‘+1′ button with make_flaggable
With the recent release of the Google Plus beta (ask me for an invite if you want one), I felt it appropriate to show a simple way to create a Like or +1 button for your Rails application. Watch the screencast at TeachMeToCode.com.
GemAWeek Episode 6 - Omnisocial
Just published episode 6 of GemAWeek. This episode I add simple social authentication using Omnisocial. Go to http://gemaweek.com/post/7628278605/episode6-omnisocial to check it out.