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.
Upgrading to Mac OS Lion killed my Rails App
I just upgraded to Lion. I had a few issues. Check out the post especially if you are using imagemagick or homebrew.
Guide to writing Ruby gems
I wrote a bunch of posts for beginners about how to get started writing a new Ruby gem. I’ll be adding more posts soon, but for now I’ve finished four short posts. Read more
Whyday contrib: Viiite, an alternative to Benchmark
I dediced to release Viiite for whyday, whatever the features I would have written. So, a first release is out now! Any ideas welcome for next release.
JSON Audit: View what parts of JSON you actually use in your app
I’ve created a JS project that uses getters/setters in JS to watch usage of objects. If you attach the auditor to JSON objects immediately after they’ve been retrieved you can use your app and then open a window to see which parts of the JSON object were actually used. You can see the project on GitHub.
Generate easy, up-to-date Rails API docs with Cucumber
After adding JSON API capability to an existing Rails’ site I needed to write API documentation. I hate writing docs, and I bet you do too. So I figured out a way to have Cucumber do it for me.
Celebrating Whyday on Codebrawl
Codebrawl is doing a last minute programming contest to celebrate Whyday. The contest ends on Monday, so be quick or you’ll miss the prize!
Podcast: Darcy Laycock (@sutto)
Darcy discusses API Smith, RailsRumble, pair programming vs. solo work, Pebble, smeg-head, and what he’s working on at The Frontier Group.
Rails 3.0.10 Application with JRuby. #jruby #rails
I just posted a blog about using JRuby and Rails 3.0.10. Rails3.0.10 and Jruby Read more
The difference of length, size and count in ActiveRecord associations
Quick explanation of how counters and counter caches works in ActiveRecord’s associations.
Migrating from Webrat to Capybara
This is a collection of tips on how to migrate from Webrat to Capybara using RSpec.
FREE Course On Ruby’s Cross Platform GUI App Toolkit - Shoes
RubyLearning is celebrating _why day today and is offering a FREE course on Ruby’s Cross Platform GUI App Toolkit - Shoes. Steve Klabnik is the guest mentor. Registrations have started.
Ruby wrapper for Getclicky API
I just launched the gem for handle the Getclicky API
Improvements for gedit, the great gnome text editor :)
You can get better Ruby syntax highlighting, highlighted Gemfile.lock files and proper highlighting for .js.erb, .yml.erb and similar files :)
A Gentle Intriduction to CarrierWave
Trevor Turk offers an intro to how to set up and use CarrierWave, and why you might care.
Steam Condenser v1.0.0 released
After three years of active development I’m proud to announce the first stable release of Steam Condenser. Read more
Different ways of code reuse in RSpec
I just blogged about helper methods, custom matchers, shared examples, shared contexts and programmatic example generation in RSpec. Keep your tests DRY!
Faye 0.6.4 with updated WebSocket support
Faye is a simple pub/sub server for the web, and I just put out a release that adds support for the new WebSocket protocol used by Firefox 6 and Chrome 14.
Rails 3.1.0.rc6 has been released
Read all about it on the official blog.
Finding Unused Methods Statically
Laser can see when you don’t use a method, even through some interesting cases with send and public_send. See how it works, and when it doesn’t!
New Gem For Retrieving Random Results From Active Record
Do things like Model.my_scope.where(:enabled => true).random(10). Also, it performs much better than using order by random() when dealing with large record sets. Check it out!
Rails nursery
What if you don’t want to install yet another rails version just to try it out? Put it to Rails Nursery! Then you can get rid of it with a simple command.
Free e-book: Learn Ruby The Hard Way
Thanks in part to Fog Creek Software’s generous parental leave policy, I was able to translate Zed Shaw’s Learn Python The Hard Way to Ruby and give it away for free. Check out it: Learn Ruby The Hard Way
SMS Messages and Phone Calls with Twilio (Episode 104 from the SD Ruby podcast)
Brian Levine shows how easy it is to add phone services to your application using Twilio. Twilio wraps powerful telecom infrastructure with a simple REST API and offers pay-as-you-go pricing with cloud scalability. Watch episode.
Rails 3 Asset Pipeline & Google Closure
Rails 3.1.0 is on the horizon and Asset Pipeline is the king of the show. A hands on look at some of the internals + example of extending the Asset Pipeline to support Google’s Closure library.