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.
A handy vim macro for RSpec users
Hate refactoring stuff into a before(:each) block by hand? <a href=http://codeulate.com/2011/02/a-handy-vim-macro-for-rspec-users/”>Let vim do it for you.</a>
Introducing NoneSuch: The greatest Ruby gem EVAR
Check out this short presentation on a new Ruby gem that will quite possibly change your life forever.
MetaWhere 2.0 Rewrite, Architectural Overview
I posted an architectural overview of the MetaWhere 2.0 rewrite-in-progress this morning. If you’re interested, head on over – I’d really appreciate your testing and feedback, particularly on the new DSL!
HTML5 Quick Start with Compass-html5-boilerplate (Episode 103 from the SD Ruby podcast)
Peter Gumeson shows off his compass-html5-boilerplate gem, which uses Compass to make it easier to integrate the HTML5 Boilerplate template into Rails apps. Watch episode
Understanding Rack (in french)
Hi, i am the Dakar Ruby User Group creator and lead manager. I just launched a blog post about Understanding Rack. And i just wanted to share it with all of you.
Lightweight Markdown in your Rails models
A brief blog post about our newest gem Markdownizer, providing easy Markdown integration with your Rails applications!
The query_reviewer, a classic Rails utility
I have been using the query_reviewer rails plugin since 2009. If you haven’t used it, this is the time to take a look. I reviewed and applied all the fixes since into a compilation fork which also turns the utility into a gem. Used for development, this utility will analyze all SQL queries generated on a given page, run EXPLAIN on the slow ones, rate the severity of the various slow or inefficient queries and display that all within an easy to use panel on the top corner of the browser. Thanks Kongregate and David Stevenson for creating this.
Interview: Michael Hartl, author of the Ruby on Rails Tutorial (railstutorial.org)
RubyLearning participants talk to Michael Hartl, author of the Ruby on Rails Tutorial (railstutorial.org).
ws-io 1.1.4 released
I just released ws-io 1.1.4, it provides the bridge between WebSocket and Standard IO. Also it provides the ‘ws-irb’ command that is the irb on browser.
Screencast: Watch Me Patch Some Rails Code
I contributed a little patch to Rails tonight, and decided to record myself as I was doing it. Check out the screencast.
Searching With Solr (Episode 87 from the SD Ruby podcast)
Get up and running in no time with enterprise-grade search powered by Solr. Nick Zadrozny shows you what Solr can do, how it works, and how you can make the most of it in production. Watch episode
CSS3, HTML5 and how to degrade gracefully
A collection of tricks and resources we use on Codegram’s website to enable beautiful and gracefully degrading front-ends.
Travis - a distributed build server tool for the Ruby community
Travis is an attempt to build an open distributed Ruby build system that allows open-source projects to register a repository and have their test-suites run on demand as well as contribute build capacities by connecting a VM that runs a build worker on their underused servers. [more inside]
Acceptance tests with Cucumber, Devise, Omniauth and Twitter
We just published an article about Twitter authentication with Rails 3, BDD style!
Vim for rails developers: what you can't miss
I just posted Vim for rails developers: what you can’t miss.
Interview with John Nunemaker
An interview with John Nunemaker, a Ruby on Rails developer best known for RailsTips, MongoMapper, and Harmony.
A Unit Testing Framework In 44 Lines Of Ruby
Have you ever wondered what it would take to write a unit testing framework in Ruby, I did, which in turn led me to wonder what the smallest possible viable framework would be. Turns out, it’s even smaller than I thought.
Rails Tips: Using Class Variables as Cache
Looking for a fast and easy way to persist data across requests? Class Variables as Cache might be your answer
Using Sinatra with Bundler to deploy on Heroku
I wrote a short article on using Sinatra and Bundler together on an app that is being deployed on Heroku.
New logging gem
I have recently launched lumberjack, a simple, powerful, and very fast logging utility that can be a drop in replacement for Logger or ActiveSupport::BufferedLogger. It can put more information in the log files and can be configured to log to different devices such as syslog or mongodb or to automatically rolling log files based on size or date.
Rails Test Prescriptions out of beta and shipping
Rails Test Prescriptions is out of beta, and will start shipping in the next day or so. It’s a comprehensive guide to testing Rails applications, covering Test-Driven Development from both a theoretical perspective (why to test) and from a practical perspective (how to test effectively). It covers the core Rails testing tools and procedures for Rails 2 and Rails 3, and introduces popular add-ons, including RSpec, Shoulda, Cucumber, Factory Girl, and Rcov. Thanks to all of you that have been supportive!
Mobile Web Apps Using jQTouch (Episode 86 from the SD Ruby podcast)
Patrick Crowley dives into the world of mobile app development and shows how to use the jQTouch framework to quickly build awesome mobile-optimized web apps. Watch episode
The challenge of asset packaging on Heroku
An overview of the current approaches to packaging CSS and JS files in Rails applications and the challenges we face using them on Heroku.
Firewool, a firewalling gem for rails 3
I just published firewool, a rails 3 firewall in sheep’s clothing. It lets you specify IPs you want allowed and blocked with a filter. So you can restrict IP access to controller actions and therefore, URLs. There are more ideas of usage in the README.
RSpec best practices
I’ve just created an article, where I make some summaries on the best practices on using RSpec. Its based on articles, books and my experience. For now the document is editable from everyone, so whoever have any suggestion, just put them in.