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.
Configuring ActiveRecord in Sinatra (7 minutes)
We’ve just launched a (free) screencast called Configuring ActiveRecord in Sinatra. It’s a follow up to our last weeks episode on building a URL shortener. Check it out!
Adding additional processing support to CarrierWave
New Blog Post from Mario: Adding additional processing support to CarrierWave.
Monkeypatching and the Open-Closed Principle
Static languages require design patterns to open a class for extension, while languages like Ruby require discipline to keep them closed for modification. Pat Maddox and I recorded a video podcall about the tradeoffs and benefits yesterday. Come tell us what you think! Monkeypatching and the Open-Closed Principle
Rails 3 & jQuery Client Side Validations
I’ve just released the 3.0 gem of Client Side Validations It is a complete rewrite and supports all Rails 3 validations (falling back to server validations if it makes sense), nested form fields are now supported, Mongoid 2.0 is supported, custom FormBuilders like SimpleForm and Formtastic are supported, custom validations are supported. Client Side Validations now has a system of callbacks for more control over your error rendering. Check out the Blog post to get started!
Detect and Fix HAProxy+Apache+Passenger Queue Backlogs
Traffic to a Rails app can pass through a number of queues (load balancer, Apache, Passenger, etc). It’s easy to miss a backlog in one of these queues - learn how to find and fix queue backlogs in your web stack.
Rake Notifier
Rake Notifier is a small script I wrote to be notified via email whenever a rake task throws an exception.
Introducing Test Driven Development (TDD) with Rails 3
New Blog Post: Darcy Laycock (@sutto) - Introducing Test Driven Development (TDD) with Rails 3.
Refactoring with sed
Checkout my post on Refactoring with sed.
passage - a tiny, flexible OpenID server with many uses.
Check out passage . A tiny, flexible OpenID server which you can customize and hack, for personal or public use.
MacRuby and Xcode 4: Build a self-contained application
Using Xcode 4 to bundle MacRuby for a self-contained, ready-to-distribute MacRuby app.
Static Asset Packaging for Rails 3 on Heroku
I just put up a post about how to combine and minify Javascript and CSS in a Rails 3 app on Heroku.
Version 0.0.3 of em_mysql2_connection_pool released
I just released the version 0.0.3 of the em_mysql2_connection_pool gem. Are you using the fabulous MySQL2 without ActiveRecord or Sequel? Evented? The you need something like the em_mysql2_connection_pool gem to prevent the usage of a connection while it’s still in use by a previous query. em_mysql2_connection_pool is lean and in production use at laut.fm.
Ruby on Rails Course
If you’re looking to learn Ruby on Rails, I’m teaching a six week Basic Ruby on Rails course starting next Monday. So, sign up quick to get in.
Useful Rewrites for Nginx
Kevin Rutten’s post walks through moving some common redirects up into Nginx, freeing Rails to do what it does best.
Learn how Postrank uses Eventmachine and Ruby to scale
Learn how Postrank scales their app with eventmachine and ruby on the latest episode of Webpulp.tv.
Interview with Chad Fowler about the Passionate Programmer
I talked to Chad Fowler about his book the Passionate Programmer and building a remarkable career. Chad shared some terrific insights on becoming a better programming and making your career a great one!
Picky semantic text search engine, version 2.0 released.
Picky 2.0 has been released. Yay! If you’re still running on 1.x, see this blog post for what has changed. In a nutshell: The configuration is much more elegant and readable now. Thanks for reading!
Rawler 0.1.0 Has Been Released
Rawler is a command line tool written in Ruby that crawls your website looking for broken links.
Call for papers for ArrrrCamp #5
arrrrcamp.be We’re looking for true craftsmen who want to inspire other programmers. If you are interested to speak about Ruby, Rails, Radiant, your frontend or testing skills, the strange hoops you’ve jumped through or the many isles you’ve raided in your day to day hacking life, you really need to let us know. Check out the talks of last year to get a feeling of our conference and submit your talk today!
Rubysource launches with our opinion piece
Rubysource has just launched as a resource for Ruby on Rails developers. Our opinion piece featured - Why Our Business Runs on Ruby on Rails.
What do you like about Rails?
Gautam Rege of JoshSoftware India writes about what he likes about Rails. What do you think? What do you like about Rails?
Sitemap testing with doublecheck
I wrote a short post about doublecheck and how to use it to verify that pages listed in your sitemap are working as expected.
A Beginner Guide to Creating Class Macros
Still scared about those methods called within a class definition? Read my really simple beginner guide to creating class macros and get to know more about this cool trick!
How to integrate the backup gem with Heroku's pgbackups
It’s really easy to use the backup gem with your Heroku postgres database.