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.
Rubinius 1.0.0 is out!
Rubinius 1.0.0 is now available! Check out their website. Rubinius is a Ruby interpreter written in C++/Ruby.
Add Search to Ruby on Rails Projects with acts_as_xapian
xapian works well for searching, but the documentation is not superb. This improves on that.
FbGraph (0.0.5) Gem for Facebook Open Graph API released.
I just launched FbGraph, a full featured gem that supports the accesing of almost all (except Analytics) features of Facebook Open Graph API: Selection (All objects and Connection Types); Authorization; Publishing; Deletion; Picture; Paging; Search; Realtime Updates.. All contributions are welcome.
attribute_normalizer reaches 0.2.0
You care about the integrity of your data right? Of course you do! Just released is version 0.2.0 of the attribute normalizer gem. Main highlights are the ability to define global normalizers and an included RSpec matcher — sudo gem install attribute_normalizer
— http://github.com/mdeering/attribute_normalizer
The Powerful New Rails Router
I wrote an article for RailsDispatch on the advanced features in Router of Rails 3. It includes a screencast showing how you can create a generic action for static pages in your application. Check it out here.
Directory Conventions for Rack Middleware RubyGems
A short blog post on directory/file structure conventions for Rack middlewares released as RubyGems.
Ruby Midwest Early Bird ends on Saturday
The Ruby Midwest conference Early Bird pricing ends this Saturday, May 15. Register now for only $75 to attend 2 full days of talks and the Intridea sponsored OMGWTFBBQ dinner, lightning talks and hackathon. Follow @RubyMidwest for news & discounts.
Rack::Rewrite 1.0.0 Released with support for Rails 3
I just released v1.0.0 of Rack::Rewrite. Check out the release notes. The most notable improvement is that it is now rails 3 compatible. Hurry up and upgrade!
Non-Blocking IO From a Bash Pipe
Here is a code sample of taking input from a pipe and simultaneously reading files off the command line ensuring that the pipe is non-blocking so that the file reading can be threaded.
Using Flickr API with Ruby and r2flickr
After being only on GitHub for too long, I’m introducing a freshly cut r2flickr, a gem which builds on the old rflickr, a close reproduction of the Flickr API as it is published.
The tricky business of selling Ruby on Rails projects
Proposing Ruby on Rails to your customer sometimes requires additional step of “selling Rails” as well.
Teach Me To Code Podcast: Interview with Kevin Rutherford
I interviewed Kevin Rutherford. Kevin is the author of Refactoring in Ruby, the developer behind Reek, and an Agile Coach.
RuleBook 0.3.3 released - Define methods with regexp!
I just released the latest version of RuleBook, a gem that lets you define instance and class methods of an object using regexp. All the info you need is right on the GitHub page.
TomDoc: Reasonable Ruby Documentation
TomDoc is a new code documentation format that I’ve been using for the last several years. I’ve finally formalized it and we’ve started using it for all projects here at GitHub. Code documentation with TomDoc looks nice in plain text and encourages specification of all parameter and return types without getting too strict about it. I wrote a post on my blog and you can see the full spec at tomdoc.org.
Using Caching in Rails (Told By A Perl Programmer
After some trials and tribulations in dealing with performance issues, I wrote up some thoughts on caching and performance on my site.
Using Markdown & Sinatra to create resumes & deploy to Heroku in multiple formats quickly
I did a writeup explaining how to use the Ruby resume project to create a resume and publish to Heroku, Github pages, and a Gem. It currently supports a few formats, and soon should add PDF as well as others.
Rubinius RC5 is out! Go Try!
Releace Candidate 5 of the Rubinius project is now available for download from the main website http://rubini.us/ go test, comment & make use of the fabulous JIT enabled ruby implementation!
Opensource design, graphic design released under Creative Commons
I just came across this project Creative Design and it looks interesting. all PSDs opensourced
Managing Errors in Sequel
My partner daicoden goes through a callback proposal for handling errors Sequel raises when saving a model. Does wonders in the refactoring department.
Potty Training YAML
Just a short post showing how to control which attributes get dumped in your class by YAML - http://caiustheory.com/potty-training-yaml
Grokking Idiomatic Dynamic Ruby
Wanderingbarque wrote an undated tutorial on how to work with Ruby’s metaprogramming features. I found really useful and quite accessible.
About writing an open licensed book
I posted an article talking about my choice to write an open licensed book for MacRuby and why open licensed books matter. The draft version of the book can be found here.
Webpulp.tv interviews Mark Imbriaco of 37signals *real link*
Webpulp.tv interviews Mark Imbriaco of 37signals and discussed bare metal servers, running rails apps, db setups, and much more!
Redcar Editor 0.3.5 is Out!
Redcar 0.3.5 has been released and is available on rubygems! Schweet! — sudo gem install redcar; sudo redcar install
— For hoes who don’t know, here is a quick description of Redcar!