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.
Why so many V/Ps?
I was recently involved in a discussion about what makes an Agile company successful. Of course there are many opinions, blogs, books and studies on this topic but in this blog post I discuss a very simple formula that makes it very easy to calculate.
Setting up Rails 3 with Compass, Haml, Sass, and SCSS.
Just wrote up a quick cheat sheet on setting up Rails 3 with Compass, Haml, Sass, and SCSS. There’s also a mini tutorial at the end for the newbies.
What is Programmer Productivity?
A few of my thoughts on programmer productivity.
Rails 3.0.7 Released
Rails 3.0.7 has just been released.
Rails Authentication Basics
I recorded a podcast episode about the principles you need to understand to implement authentication in Ruby on Rails and I go over some best practices and security details I feel are often neglected.
A simple maps mashup with Rails and GeoKit
A couple of weeks ago we created a simple maps mashup with Rails and GeoKit. We’ve just posted a brief summary of the project which might be of interest to others.
Comparing images and creating image diffs
I’m sure you’ve seen the image diffs Github released last month, which is a really nice way to see the differences between two versions of an image. In this article, I’ll try to explain how a simple image diff could be built using pure Ruby and ChunkyPNG.
RubyConf India 2011 - May 28th and 29th in Bangalore
After a successful conference last year, RubyConf India is back for the second time. Like last year, the conference will be held in Bangalore, India on the 28th and 29th of May. This year, the conference promises to be bigger and better with speakers like Yehuda Katz, member of the Ruby on Rails core team and jQuery core team, Chad Fowler author of “The Passionate Programmer”(via video), Ola Bini core-committer to JRuby since 2004 slated to speak at the conference, among others. [more inside]
Create your own Rails3 engine
I created a video that you can following the steps to create a rails engine. Part 1: I create the engine. Part 2: I plan on hooking this engine into ror_ecommerce.
Github-style CSS3 buttons gem
I just launched a CSS3 buttons gem which defines some rails helpers methods to make sexy, githubish buttons and links, without faffing about. Includes a simple stylesheet and icons and the helpers are easy on the eyes (and brain). [more inside]
fp-sin, an async sinatra shell to get your started.
I just launched fp-sin an async Sinatra shell with all the goodies. Included is rack-fiber_pool, em-mysql2, em-synchrony, em-http-request, sinatra-activerecord, i18n, less, dalli, and convenient hashing functions for cache keys. Due to the popularity of em-shorty, I figured I would put this together so people could quickly integrate it in their own Sinatra projects. Oh and don’t forget the included console provided by tux.
Exploring Rails 3.1 - ActiveModel::SecurePassword
Rails 3.1 will have Bcrypt authentication baked in.
Slop version 1.5.0
I’ve just released Slop version 1.5. This version adds support for Ranges supporting multiple syntaxes, and the major feature of commands! See an example here. Be sure to check out Slop!
What's so special about Ruby Rails
A friend asked me that very question - so I blogged about it. Please feel free to leave a comment :) What’s so special about Ruby on Rails?
Truncating HTML while Preserving Structure
Couldn’t find anything that allowed me to truncate snippets of HTML, so I wrote my own.
RailsInstaller 1.1.1 Released!
Wayne E. Seguin walks through new features and other improvements, and a quick screencast demo.
Typus own authentication
Make your own Authentication with Tyus: Typus own authentication.
Cloud Foundry - a Ruby and node.js developer's perspective
This week VMWare announced Cloud Foundry, their open source PaaS offering for Ruby and node.js. Here’s my take.
TorqueBox 1.0.0.CR1 Released
The TorqueBox project launched their first 1.0 Candidate Release today. TorqueBox is the mixture of the JRuby interpreter with the JBoss AS Java application server.
RSpec Rails Testing - Without Rails
Find out how to speed up your Rails tests by not including Rails!
Copycat. Copycopter without the bills.
I like the idea of Copycopter, particularly the client side gem to synchronise and publish content, but I wasn’t a fan of their web interface, or paying a monthly fee for what is in practice a really simple application. [more inside]
Recursively Setting Deep Hash Value
Ever want to set a Hash like below? Check out my short blog post.
Writing a Desktop Application With JRuby and Swing
Here is an educational example of a pure Swing and JRuby desktop application. In it, I show how I’ve converted an existing Java Swing app to JRuby.
CoffeeScript Basics – A Teach Me To Code Tutorial
Since the announcement that CoffeeScript will be part of Rails as of version 3.1, I thought a tutorial is in order. You can watch it on Teach Me To Code.
Practicing safe Ruby, with safely
Wrap up your dangerous Ruby operations in a warm error handling embrace with the new safely gem. Extracted from daemon-kit, and now standing on its own two feet, safely will make sure your projects never fall over without you knowing exactly why.