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
ls = LineStream.new(true)
bl = ls.retrieve
line_msg = ls.messagize(bl, false) # long format
...
Ruby Checking validity of messag...
I have an ActivityStrea...
Any idea how I can refactor...