class UsersController < ApplicationController
  before_filter :authorize
  before_filter :find_user, :only => [:edit, :update, :destroy]
...

Ruby Code Duplication

by xystus777.myopenid.com, November 26, 2010 10:15, 2 refactorings, tagged with rails, ruby, refactor, params, format, duplication

Any idea how I can refactor...

55502f40dc8b7c769880b10874abc9d0 Talk
ls = LineStream.new(true)
    bl = ls.retrieve
    line_msg = ls.messagize(bl, false) # long format
...

Ruby Checking validity of messag...

by keruilin.myopenid.com, June 25, 2010 11:25, 3 refactorings, tagged with ruby, refactor, twitter

I have an ActivityStrea...

2669fbd62908cf7787bd6ac81bad624c Talk
#!/usr/bin/ruby

=begin
...

Ruby I'm having trouble thinking...

by lordzoner.myopenid.com, May 22, 2010 22:32, 3 refactorings, tagged with ruby, refactor, euler18

I'm working on Project Eule...

D41d8cd98f00b204e9800998ecf8427e Talk