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.
Post jobs on rails-bestpractices.com
I’m glad to say that job board has been added to rails-bestpractices.com, you can post ruby/rails related jobs on it, it’s free now. I hope companies can find good rails developers and rails developers can find good rails jobs on it, it’s a win-win.
Endless Page Scrolling with Rails 3 and jQuery
Learn how to implement endless page scrolling on your Rails 3 app with this detailed blog post. Includes an example application and code repository.
Atto, a self-contained ultra tiny testing framework.
I just pushed the gem for version 0.9 of Atto, a self-contained, ultra tiny testing framework inspired by and partially based on Nanotest by mynyml. Atto has atto, an automatic test runner, and has support for ANSI colors built in. I’m using it extensively for several of my own projects, and I think it’s nice because it keeps the unit tests simple and quick to write. Ideal for people who like a minimalistic approach to testing.
Reversible Migrations in Rails 3.1
Find out about the new Reversible Migrations in Rails 3.1 — an EdgeRails.info article.
Ruco: Simple Commandline Editor (think nano/pico) but awesome (and in Ruby).
Ruco is a simplistic/intuitive editor written test-driven in Ruby. It can be configured/extended via .ruco.rb and aims to feels like your desktop editor (e.g. shift+arrow-keys=selecting, ctrl+c/v/x, ctrl+s=save, ctrl+w=close, ctrl+r=replace and much more). Take it for a ride via gem install ruco.
The CoffeeScript Cookbook
I just launched CoffeeScriptCookbook.com because I have committed myself to drinking the Rails 3 kool-aid. Right now it has a grand total of FIVE recipes! Come on over, fork the project on Github, add some recipes (or help design an actual site layout!) to get commit access, and be awesome forever!
Tom Preston-Werner Interview
Do you love Github? Want to know about some of their magic? I interviewed Tom Preston-Werner, one of their co-founders. We talked about the origins of the company. How they run it. How Tom thinks about building applications and contributing to Open Source. [more inside]
will_paginate in Javascript
We recently released jQuery Fiji Paginate as part of our jQuery Fiji project (some widgets based on jQuery UI). The pagination widget is fully compatible with will_paginate (Rails 3 branch). It has nearly the same configuration options and output (even the logic behind it is very similiar … just in Javascript). [more inside]
Refactoring to Modules
Great post on refactoring to modules for DRYer code and easier testing.
Rails 3.1 CoffeeScript and JQuery Demo
I was curious about how Rails 3.1 was going to manage CoffeeScript and include jQuery, so I created a simple app and tried it out. Here’s a 10 minute video on just how simple it is.
Safely updates, now with email exceptions and application postmortems
I updated safely to support email exceptions, logging exceptions and logging unhandled exceptions responsible for terminating your Ruby application unexpectedly. See this safely update post for more information.
Wtf_lang: Detect any language in an easy way.
Can’t stop dreaming about an easy language detector? Just use wtf_lang!
Rails 3 beta 1 changelog
This gist lists all the changes in the most recent beta of Rails.
RuLu: Ruby Conference in Lyon, France on June 25-26th
The Lyon Ruby Brigade is pleased to announce its first Ruby Conference in Lyon, France. This conference will take place on June 25th and 26th. All the information you need to join us are on our website rulu.eu or on Twitter @rubylug.
Padrino 0.9.27 Released
The Padrino team just released 0.9.27 which includes project-wide settings, reverse route recognition, and a multitude of compatibility and bug fixes. Read about this release on our blog entry for more details. We also setup a CI and better release processes as we approach 1.0 which ensure Padrino will run smoothly on every ruby runtime as well as better integration tests that ensure each release doesn’t break compatibility with the last.
Podcast Interview: Chad Pytel on Rails AntiPatterns
Chad discusses common Rails AntiPatterns, how to keep up to date with Rails, and ways to foster a culture of sound development practices. Listen to the podcast here.
ActiveRecord SQLServerAdapter For Rails 3.1.beta
For the first time ever, the SQL Server Adapter is ready and waiting for a major Rails/ActiveRecord release while still in beta. If you use the adapter and are interested at all in how we utilize the new prepared statement support, check out this thread on our Google Group and give us some feedback.
Foreman: Run Complex Apps with Ease
If you’ve got a complex app and want an easy way to run it in development, check out foreman
Ruby Rogues: 5 Crazy Rubyists Shooting The Breeze
It’s new and scrappy and we’re still finding our feet, but Ruby Rogues is a new podcast chaired by Charles Max Wood and featuring Aaron ‘tenderlove’ Patterson, David Brady, James Edward Gray II, and me, Peter Cooper. The big issue in the first episode is our opinions about testing.. prepare to be shocked.
A review of The Rails 3 way
I just published a review of the rails 3 way.
Why Chef Should Manage Deploying Your Application
Curt Micol discusses Why Chef Should Manage Deploying Your Application as a follow-up post to his earlier Why Puppet Should Manage Your Infrastructure article.
scout_api gem released: query your time series data
We just released the scout_api gem to query metrics stored on Scout. An example: Scout::Server.first(:name => "Web Server").metrics.maximum(:name => 'Memory Used')
state_machine 1.0 release party May 12 in Cambridge
Join me Thursday, May 12 at the Asgard Irish Pub & Restaurant in Cambridge, MA at 7:30pm or later to celebrate the upcoming release of state_machine 1.0. Come by, say hello, and let me buy you a drink (or two)!