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.
rcov, minus the segfaults
relevance-rcov squashes numerous bugs (including those gnarly segfaults) in the old version of rcov. Try it on your Ruby 1.8.x projects today, and if you run into any problems, fire up the report-cov-bug tool and let us know.
Audio interview with DHH
Randal L Schwartz has interviewed David Heinemeier Hansson for his FLOSS Weekly show. DHH talks about Rails, 37Signals, and how he came to coding late in life (relatively speaking).
A heated discussion about Rails on Reddit
A heated discussion about Rails on Reddit.
Why You Should Use Devver
There are many tools out there for continuous integration, but running a large test suite should probably happen before you commit your code: Why You Should Use Devver
How To Write A Simple Web Crawler In Ruby
How To Write A Simple Web Crawler In Ruby - takes you through what you need to know to write a simple web crawler in Ruby from scratch (all code is included). It also mentions some of the ways the web crawler can be made more useful and robust.
Developer Day Boston
Developer Day is coming to Boston on August 15th - we’ve successfully hit Durham and DC with our forward-thinking, technology-agnostic (but Ruby friendly!) events, and now Viget and Relevance are partnering with thoughtbot to bring it to New England. Registration is open now!
Site discovery and instant client APIs for your RESTful web application
Putting it all together - ResourceTemplates, described_routes and path-to — described_routes and path-to have come together nicely (thanks in part to the new link_header gem). This post explains how to add site discovery to your web application and get instant client APIs in Ruby.
Ruby, Rack and CouchDB = lots of awesomeness
In his latest post, Matt Aimonetti covers the simple steps to create a Rack middleware and how to log CouchDB queries or any thing happening in your application. Using Couch, you can log directly to a remote database and process/display them there. Even if you don’t care about Couch, it’s a great middleware example and shows some interesting Ruby tricks.
Drag & Drop Sortable Lists
A common (yet pretty) requested feature easily explained. Check it here.
Programmatically Creating Website Thumbnails
Programmatically Creating Website Thumbnails describes how to get those little images of a web page as a snapshot or image available to display in your application.
Getting to grips with git: differences and undoing changes
This is the fourth post in my Getting to grips with git series. It is concerned with looking at the differences between versions, and the various options for undoing your changes.
Conditionally using memcached in Rails development mode
Quick tip on how to setup Rails caching to use memcached conditionally, when the daemon is running.
Open source slides with Slidedown
Have too many slideshows in your organization? Have a jones for open source tools? Text files? Git? Same here. Give Slidedown a whirl.
VertaCount is a web based application to count everything you want.
VertaCount allows to create as many colourfull counters as you need. 8 hours was needed to write this application.
Wireframing Rails Apps
A quick look at a useful wireframing application to help you develop screens for your application before coding.
LessCSS goodies
If you use or plan to use LessCSS in your ruby project then check out css2less and rack-lesscss Rack middleware.
Rails Underground - Day 2 round-up
The 2nd day of the conference has just kicked off, and I’m furiously blogging away the summaries as soon as I can, so check them out Rails Underground 09 talks
Apple Push Notifications on Rails
Apple Push Notifications on Rails - APN on Rails is a Ruby on Rails gem that allows you to easily add Apple Push Notification (iPhone) support to your Rails application.
From the giant robots...
…two new projects: manage your github collaborators with enforcer, grade your projects with metric_fu/integrity using report_card, and also: make your test suite run UNCOMFORTABLY FAST
Add Authlogic and Lockdown to your rails app
Don’t stop writing specs if you start using Authlogic and Lockdown in your rails app!
Real Testing Example
Longish example of real tests from Cucumber to controller and model tests from Noel Rappin of Pathfinder and Rails Prescriptions: Read Part One and Part Two
Resource Controller for “Skinny” Rails Controllers
This blog post takes a look at some basic metrics associated with two projects to show how the resource_controller plugin can dramatically reduce LOC in your rails applications.
Rails Underground - Day 1 round-up
I’m posting summaries of all the sessions I’m able to attend at Rails Underground 09, a work in progress at the moment as the day isn’t over but I’ll be updating it every 10mins or so.
RailsLab: Scaling Your Database - Part 1...
RailsLab: Scaling Your Database - Part 1 In this screencast we take a look at the evolution of a database heavy Rails application. We learn how you might grow the app initially using vertical scaling and then move to horizontal scaling with Replication using the Masochism plugin. Lastly we cover a few other good uses of Replication such as fallback, backups, running reports/analytics, and background jobs.
Gem this is now a gem command
Gem-this 0.2.1, the completely unobtrusive gem creation tool is even easier to user now. Go to your existing lib, and just type gem this. Done.