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.
gem install web
I just pushed out the first version of web, a library for caching HTTP service responses.
Sprinkle: Build remote servers in repeatable way
I give an introduction to Sprinkle. Sprinkle uses Ruby’s DSL to define packages/steps that are going to execute on remote servers, so that makes it easy to read and write.
New version of acts_as_taggable_on gem has been released
We have just updated acts_as_taggable_on gem to 2.1.0 version. This will be the last version which supports rails 2.
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. [more inside]
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!
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 [more inside]
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. [more inside]
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.
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.