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.
Rails Best Practices 3: Increase Controller’s readability
Another post about Rails Best Practices: Rails Best Practices 3: Increase Controller’s readability. Read it on DevInterface Blog.
Faye 0.5: WebSockets, protocol extensions API and CometD integration
I just released Faye 0.5, an easy-to-use pub/sub messaging system for Rack, Node and web browsers.
Rack::Plastic Helps You Write Rack Middleware
If you’re writing Rack middleware that modifies the HTML of the response, Rack::Plastic will make the task much easier. Useful middleware has already been written using Rack::Plastic, including Rack::Environmental, Rack::Gsub and Rack::Linkify.
The Hummus Manifesto: Part 1
Michael Eisenberg is a venture capitalist with Benchmark Capital, read what he has to say about Ruby on Rails, Microsoft and the Israeli High-Tech Sphere on Seeking Alpha.
Redmine 1.0.0 has been released
Redmine 1.0.0 has just been released. It’s the project management system behind projects like Ruby, RubySpec, Puppet, Typo3, as well as hundreds of other open source and commercial projects.
Using Tolk with Google Translate
Quick writeup and video of my Tolk translation engine fork that uses the Google Translate API to provide sensible starting points for Rails i18n translations. [more inside]
Logrotate config with capistrano
How to create capistrano task for generating logrotate configuration file.
Geospatial search with Ruby and Sphinx
I posted a quick article about using Riddle to perform geospatial search with Sphinx fulltext search engine.
dunce-cap
I just released dunce-cap; several useful recipes to prevent some boneheaded mistakes with your capistrano deploy.
Resque with some swagger
Swagger is a new gem that allows you to use resque without redis
client_side_validations
Simple to use drop in client side validations for your Rails app. With Rails 2 and Rails 3 examples. Built on top of jquery.validate.js
EagerRecord means never using :include again
So take the N out of your N + 1.
Make rails3 deployment more robust with inploy
Upgrading to rails 3 is a good opportunity to update your deployment procedure, rethinking what you really want.
bullet 2.0.0.beta.3 gem released
I just released bullet 2.0.0.beta.3 gem, which is aimed to kill N+1 queries and unused eager loadings. It is compatible with rails 3.0.0.beta4 now. With sriedel’s help, a lot of refactors are done, and xmpp notification is added. Enjoy it!
Rails Upgrade Handbook now on Peepcode
Upgrading to Rails 3? Got Peepcode credits, a Peepcode Unlimited subscription, or just really like giving Geoffrey Grosenbach money? Then grab my PDF on upgrading to Rails 3, now available on Peepcode!
Rails Test Prescriptions Beta 4 is out
The fourth beta of Rails Test Prescriptions from Pragmatic is available at their site. Check out the the associated blog for updates and related content including a recent discussion of pair programming.
The right tool for your job
Simple metrics you can use to gauge healthy open source projects.
Relational or NoSQL?
What you need to evaluate NoSQL vs relational databases, and a short pitch at the end for my MongoDB training session at the Lone Star Ruby Conference.
Hierarchical Visualizations in R and the Javascript InfoVis Toolkit
If you have not checked out the Javascript InfoVis Toolkit you really should. To get an idea of some of the possibilities available, see Hierarchical Visualizations in R and the Javascript InfoVis Toolkit where Oracle HR Demo Schema data is represented in trees - first in R, then using a Sinatra app and the toolkit. Sinatra app is available on Github.
Screencast: Setup your own URL shortener with Heroku and Firefly
Firefly is a light-weight URL Shortener app. It’s written in Ruby/Sinatra and can be easily deployed to Heroku. This screencast illustrates how easy it really is to setup Firefly and give it a spin. Did I mention that both Firefly and Heroku can be used for free?
Generic tests with Rspec
A simple technique to avoid duplication in Rspec tests using shared examples and described_class.
RMU and Game Mechanics
I wrote a post describing some of the ideas from game mechanics embedded in the way that Ruby Mendicant University has been shaping up. Might be useful to any folks currently involved in educational initiatives online or otherwise.
Towards an Agile Maturity Assessment
I have been thinking about an agile maturity assessment model for years, as this blog article illustrates. Its time to take it to the next level with this blog series. I’m inviting mature discussion, realizing that there will be a small controversy about this. I’m hoping it acts as a forge for the ideas.
ActiveLog : Log changes to all attributes on activerecord model
I just came across ActiveLog. It is a pretty good plugin for logging updates on models. It also stores current_user information.