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.
Ruby number readability tip
Quick, Millions or Billions? a quick post on how you can make numbers more readable in your Ruby code.
"Refactoring in Practice" slides from Ruby Hoedown
I gave a talk on refactoring this weekend at Ruby Hoedown in Nashville, TN. Here’s a link to the slides.
Rails 3 Application Templates
After planning this for months now, we managed to finally put together a set of Rails 3 application templates to make generating new applications easier. [more inside]
Gmate Cucumber table cleaner plugin
For those who’re using Gmate as IDE for developing Rails applications, I created plugin for one-click clean up and arrange tables in Cucumber Scenario outlines, mass form filling and other.
(My) Cucumber best practices and tips
After (My) RSpec best practices and tips I’m happy to share my Cucumber best practices and tips! This article will help you organize your garden, make smaller scenario, use scenario outlines, multiline step arguments and more!
Rails URL validation gem
Following the email validation gem, we made a small URL validation gem also. The difference is that this works with both Rails 2 and Rails 3. It’s pretty naive in its implementation, but it generally does the trick. [more inside]
Lockdown (authorization for Rails) 2.0 released
Lockdown, an authorization system for Rails(2 and 3) was just released. The release announcement has details on what has changed.
Incoming Email in Rails 3 - choosing the right approach
There are loads of options for sending email in Rails but when it comes to receiving email the options aren’t quite so clear. [more inside]
RVM and cron in production
How to use RVM and cron in production, together with some tips on the best kind of RVM install (system-wide vs. specific user).
Rails 3, Ruby and JQuery documentation into Mac OS Dictionary
All together here
Rails Test Prescriptions Beta 7 now available
Beta 7 of Rails Test Prescriptions by Noel Rappin is now available from the Pragmatic Press. This version includes a new chapter on RSpec.
Platypus: small inter-related collection of type-oriented libraries
Have you seen my Platypus? He was around here somewhere. A little horse told me he could do method overloading, pseudo-classes and double-dispatch type conversion. That’s fun. Next time someone asks for these, you can scrap the goose gander and just send him out for Platypus steaks –well done.
Rails 3 email validation gem
We have just finished a small, but hopefully useful gem to help validating email addresses in Rails 3. You can see the source at GitHub or grab the gem itself from RubyGems.
Speeding Up Rails Rake
In which I hack my Rakefile to make it load without loading the Rails environment.
Rails Best Practices 6: Filters and helpers file
My new article about Rails best practices: <a href”http://blog.devinterface.com/2010/09/rails-best-practices-6-filters-and-helpers-file/”>Filters and helpers file</a>
Cheezburger - RSpec for LOLcats!
We just launched cheezburger, a small gem extending RSpec for writing specs in LOLspeak! Fork it on Github also!
Rubylearning just announced a new course
RubyLearning just announced a new course - Ruby programming 101 that starts in Oct. Registrations have started and there is an Early Bird Discount. Hurry. Ruby Programming 101
ruby-shout 2.2.0
I just released ruby-shout 2.2.0, a maintainance release for ruby 1.9 compatibility. So if you’re using ruby-shout in a project there’s one less reason to update to 1.9 now. If you don’t: ruby-shout is probably one of the easiest ways to get the sound to your own webradio station.
Removing duplicate error messages in Rails
Quick post on removing redundant validation error messages from Rails form builder.
Weekly Ruby Roundup - 03-09-2010
Weekly Ruby News Roundup from last week This Week: Rails 3, Pomegranate, Extendible Hashing and more…
radix62 - A new gem for base 62 conversions
I just pushed my latest gem, radix62. [more inside]
DRY bundler in capistrano
I have wrote a article DRY bundler in capistrano, it just gives you a notice that there are built-in capistrano tasks existed in Bundler 1.0.
Radix 1.1.0
Just released a new version of Radix, the base conversion library. The new version adds a Radix::Number class so numbers in alternate bases can be handled much more easily. Checkout the QEDoc on it to get the idea. The new class is still rather nascent, only supporting integer values and the most basic math operators, so if anyone is keenly interested, please feel free to dive in and help beef her up.
ZeroMQ: Modern & Fast Networking Stack
ZeroMQ is a network library which provides a much needed layer of abstraction on top of the traditional BSD socket API: transport agnostic, connection management, routing. With language bindings for a dozen languages (and Ruby, of course), it is a fast, modern API which makes developing high-performance network apps fun again.
Assignment-like methods and the returned value (in Ruby)
An assignment-like method in Ruby always return the Right-Hand Side of the method (the parameter) and never the result of the method. I’ve learnt this the hard way. [more inside]